Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008087/0.0008087, allocations: 94.61 kB / 261.8 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1888/0.1888, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.105e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.4868, allocations: 87.94 MB / 0.5519 GB, free: 6.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.4872, allocations: 75.66 kB / 0.552 GB, free: 6.855 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01059/0.4978, allocations: 4.184 MB / 0.5561 GB, free: 3.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4978, allocations: 0 / 0.5561 GB, free: 3.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.4978, allocations: 11.88 kB / 0.5561 GB, free: 3.562 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004402/0.4983, allocations: 464 kB / 0.5565 GB, free: 3.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4983, allocations: 12.03 kB / 0.5565 GB, free: 3.059 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.4984, allocations: 11.84 kB / 0.5566 GB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.4987, allocations: 229.4 kB / 0.5568 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.4987, allocations: 4 kB / 0.5568 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.4988, allocations: 4 kB / 0.5568 GB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.343e-05/0.4989, allocations: 38.86 kB / 0.5568 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.499, allocations: 91.95 kB / 0.5569 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.499, allocations: 0 / 0.5569 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.499, allocations: 0 / 0.5569 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.499, allocations: 4 kB / 0.5569 GB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.4995, allocations: 0.4906 MB / 0.5574 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.4997, allocations: 73.11 kB / 0.5575 GB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.4998, allocations: 32.09 kB / 0.5575 GB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.4998, allocations: 4 kB / 0.5575 GB, free: 2.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.4999, allocations: 77.2 kB / 0.5576 GB, free: 1.992 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.5, allocations: 0 / 0.5576 GB, free: 1.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002062/0.5002, allocations: 107 kB / 0.5577 GB, free: 1.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.5002, allocations: 51.41 kB / 0.5577 GB, free: 1.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.5003, allocations: 168.9 kB / 0.5579 GB, free: 1.672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.5004, allocations: 25.7 kB / 0.5579 GB, free: 1.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.5004, allocations: 115.7 kB / 0.558 GB, free: 1.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.5004, allocations: 31.17 kB / 0.558 GB, free: 1.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.5004, allocations: 4 kB / 0.558 GB, free: 1.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.5005, allocations: 329.3 kB / 0.5584 GB, free: 1.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.5006, allocations: 22.69 kB / 0.5584 GB, free: 1.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.721e-05/0.5006, allocations: 52.67 kB / 0.5584 GB, free: 1.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.5007, allocations: 30.61 kB / 0.5585 GB, free: 1.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5007, allocations: 4.094 kB / 0.5585 GB, free: 1.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001524/0.5008, allocations: 112.1 kB / 0.5586 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5008, allocations: 4 kB / 0.5586 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5009, allocations: 4 kB / 0.5586 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5009, allocations: 0 / 0.5586 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.501, allocations: 30.8 kB / 0.5586 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.501, allocations: 7.953 kB / 0.5586 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.5011, allocations: 20.05 kB / 0.5586 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.5011, allocations: 4 kB / 0.5586 GB, free: 0.9219 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.5012, allocations: 113 kB / 0.5587 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001253/0.5013, allocations: 102.9 kB / 0.5588 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.5013, allocations: 15.81 kB / 0.5589 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.5015, allocations: 110.6 kB / 0.559 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.5015, allocations: 4 kB / 0.559 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.5015, allocations: 0 / 0.559 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.5015, allocations: 4 kB / 0.559 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.5016, allocations: 186.7 kB / 0.5592 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5016, allocations: 3.984 kB / 0.5592 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.5017, allocations: 15.94 kB / 0.5592 GB, free: 388 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5017, allocations: 0 / 0.5592 GB, free: 388 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.5017, allocations: 0 / 0.5592 GB, free: 388 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5017, allocations: 0 / 0.5592 GB, free: 388 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5018, allocations: 3.953 kB / 0.5592 GB, free: 384 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.502, allocations: 176.8 kB / 0.5593 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.5021, allocations: 96.75 kB / 0.5594 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.5021, allocations: 0 / 0.5594 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.5022, allocations: 8 kB / 0.5594 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.5022, allocations: 3.984 kB / 0.5594 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.5022, allocations: 7.953 kB / 0.5595 GB, free: 88 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.5023, allocations: 136.2 kB / 0.5596 GB, free: 15.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5023, allocations: 3.938 kB / 0.5596 GB, free: 15.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.5026, allocations: 32 kB / 0.5596 GB, free: 15.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.5038, allocations: 0.9427 MB / 0.5605 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.5039, allocations: 72.73 kB / 0.5606 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5039, allocations: 0 / 0.5606 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.435e-05/0.504, allocations: 26.88 kB / 0.5606 GB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.5042, allocations: 31.03 kB / 0.5607 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.5048, allocations: 237.9 kB / 0.5609 GB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.5051, allocations: 0.7203 MB / 0.5616 GB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.844e-05/0.5052, allocations: 21.19 kB / 0.5616 GB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.5053, allocations: 42.73 kB / 0.5617 GB, free: 13.92 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5053, allocations: 0 / 0.5617 GB, free: 13.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.5274, allocations: 2.942 MB / 0.5645 GB, free: 10.98 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/0.5277, allocations: 170.5 kB / 0.5647 GB, free: 10.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.068, allocations: 3.938 kB / 0.5647 GB, free: 10.78 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat