Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.001185/0.001185, allocations: 177.6 kB / 8.005 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.626/1.626, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.000826/0.0008259, allocations: 92.03 kB / 261.8 MB, free: 1.68 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.2032/0.2032, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.979e-05/1.981e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3718/0.4807, allocations: 86.96 MB / 0.551 GB, free: 7.684 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.4809, allocations: 82.11 kB / 0.551 GB, free: 7.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0131/0.494, allocations: 5.665 MB / 0.5566 GB, free: 3.125 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4941, allocations: 0 / 0.5566 GB, free: 3.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.4941, allocations: 7.938 kB / 0.5566 GB, free: 3.117 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003557/0.4945, allocations: 424.5 kB / 0.557 GB, free: 2.668 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4945, allocations: 12.03 kB / 0.557 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.4946, allocations: 7.906 kB / 0.557 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.4948, allocations: 237.8 kB / 0.5572 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.4948, allocations: 0 / 0.5572 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.4949, allocations: 3.938 kB / 0.5572 GB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.009e-05/0.4949, allocations: 19.36 kB / 0.5572 GB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.379e-05/0.495, allocations: 52.8 kB / 0.5573 GB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.495, allocations: 3.938 kB / 0.5573 GB, free: 2.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.495, allocations: 0 / 0.5573 GB, free: 2.312 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4951, allocations: 0 / 0.5573 GB, free: 2.312 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.4953, allocations: 295.7 kB / 0.5576 GB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.149e-05/0.4954, allocations: 48.69 kB / 0.5576 GB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.4955, allocations: 16.36 kB / 0.5576 GB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.4955, allocations: 0 / 0.5576 GB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.4956, allocations: 65.02 kB / 0.5577 GB, free: 1.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.4956, allocations: 4 kB / 0.5577 GB, free: 1.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003728/0.496, allocations: 158.2 kB / 0.5579 GB, free: 1.738 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.496, allocations: 55.34 kB / 0.5579 GB, free: 1.672 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.4962, allocations: 247 kB / 0.5582 GB, free: 1.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.4962, allocations: 25.7 kB / 0.5582 GB, free: 1.434 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.4963, allocations: 118.5 kB / 0.5583 GB, free: 1.336 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.4963, allocations: 25.86 kB / 0.5583 GB, free: 1.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/0.4963, allocations: 0 / 0.5583 GB, free: 1.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.4963, allocations: 332.2 kB / 0.5586 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.4964, allocations: 22.31 kB / 0.5587 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.4964, allocations: 28.53 kB / 0.5587 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.4965, allocations: 18.8 kB / 0.5587 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4965, allocations: 4 kB / 0.5587 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001113/0.4966, allocations: 99.25 kB / 0.5588 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.4966, allocations: 4 kB / 0.5588 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.4966, allocations: 0 / 0.5588 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4966, allocations: 32 / 0.5588 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.029e-05/0.4967, allocations: 23.98 kB / 0.5588 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.4967, allocations: 0 / 0.5588 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.4968, allocations: 4 kB / 0.5588 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.4968, allocations: 3.953 kB / 0.5588 GB, free: 0.8086 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 4.347e-05/0.4968, allocations: 109.7 kB / 0.5589 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001096/0.497, allocations: 102.5 kB / 0.559 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.497, allocations: 11.91 kB / 0.559 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.4971, allocations: 122.4 kB / 0.5592 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4972, allocations: 8 kB / 0.5592 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4972, allocations: 3.953 kB / 0.5592 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4972, allocations: 0 / 0.5592 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.4975, allocations: 397.5 kB / 0.5596 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4975, allocations: 7.938 kB / 0.5596 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.4975, allocations: 11.62 kB / 0.5596 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4975, allocations: 0 / 0.5596 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.4976, allocations: 3.984 kB / 0.5596 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4976, allocations: 11.98 kB / 0.5596 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4976, allocations: 0 / 0.5596 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.4978, allocations: 210.4 kB / 0.5598 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.4978, allocations: 104.7 kB / 0.5599 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.4979, allocations: 7.953 kB / 0.5599 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.498, allocations: 11.92 kB / 0.5599 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.498, allocations: 4 kB / 0.5599 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.498, allocations: 4 kB / 0.5599 GB, free: 15.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.4982, allocations: 203.7 kB / 0.5601 GB, free: 15.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4982, allocations: 0 / 0.5601 GB, free: 15.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.4984, allocations: 31.62 kB / 0.5601 GB, free: 15.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.001159/0.4996, allocations: 1.108 MB / 0.5612 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.4997, allocations: 56.48 kB / 0.5613 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4997, allocations: 0 / 0.5613 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.4998, allocations: 30.81 kB / 0.5613 GB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.5001, allocations: 23.41 kB / 0.5613 GB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.5007, allocations: 300.2 kB / 0.5616 GB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.5009, allocations: 0.7194 MB / 0.5623 GB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.479e-05/0.501, allocations: 20.55 kB / 0.5623 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.5011, allocations: 43.42 kB / 0.5624 GB, free: 13.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5011, allocations: 0 / 0.5624 GB, free: 13.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.5218, allocations: 3.134 MB / 0.5654 GB, free: 10.16 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.5221, allocations: 169.3 kB / 0.5656 GB, free: 9.957 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.06, allocations: 0 / 0.5656 GB, free: 9.957 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat