Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",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.0009966/0.0009966, 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.426/1.426, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0007942/0.0007942, allocations: 86.62 kB / 261.7 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.2232/0.2232, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.342e-05, allocations: 8 kB / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 58.85 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4211/0.5513, allocations: 87.18 MB / 0.5512 GB, free: 7.504 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5517, allocations: 74.06 kB / 0.5512 GB, free: 7.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01391/0.5656, allocations: 5.641 MB / 0.5567 GB, free: 3.188 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5657, allocations: 3.984 kB / 0.5568 GB, free: 3.184 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.5657, allocations: 8 kB / 0.5568 GB, free: 3.176 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.0003978/0.5661, allocations: 385.8 kB / 0.5571 GB, free: 2.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.5661, allocations: 8.031 kB / 0.5571 GB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.5662, allocations: 7.906 kB / 0.5571 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.5665, allocations: 207.9 kB / 0.5573 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5665, allocations: 4 kB / 0.5573 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.5665, allocations: 0 / 0.5573 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.641e-05/0.5666, allocations: 22.44 kB / 0.5574 GB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.5667, allocations: 65.33 kB / 0.5574 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5667, allocations: 0 / 0.5574 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.5668, allocations: 4 kB / 0.5574 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5668, allocations: 0 / 0.5574 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.5671, allocations: 264.6 kB / 0.5577 GB, free: 2.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.5672, allocations: 59.12 kB / 0.5577 GB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.5673, allocations: 20.03 kB / 0.5578 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.5673, allocations: 0 / 0.5578 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.5674, allocations: 58.03 kB / 0.5578 GB, free: 2.004 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.5674, allocations: 3.938 kB / 0.5578 GB, free: 2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004022/0.5679, allocations: 158.5 kB / 0.558 GB, free: 1.867 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.5679, allocations: 81.11 kB / 0.558 GB, free: 1.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.568, allocations: 141 kB / 0.5582 GB, free: 1.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.568, allocations: 29.7 kB / 0.5582 GB, free: 1.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.5681, allocations: 91 kB / 0.5583 GB, free: 1.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.5681, allocations: 23.53 kB / 0.5583 GB, free: 1.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.5681, allocations: 0 / 0.5583 GB, free: 1.504 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.5682, allocations: 322 kB / 0.5586 GB, free: 1.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.5682, allocations: 19 kB / 0.5586 GB, free: 1.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.5682, allocations: 44.19 kB / 0.5587 GB, free: 1.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.5683, allocations: 27.23 kB / 0.5587 GB, free: 1.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.5683, allocations: 0 / 0.5587 GB, free: 1.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001694/0.5685, allocations: 83.84 kB / 0.5588 GB, free: 1.035 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5685, allocations: 4 kB / 0.5588 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.5685, allocations: 8 kB / 0.5588 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5685, allocations: 3.953 kB / 0.5588 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.5686, allocations: 15.98 kB / 0.5588 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5686, allocations: 8 kB / 0.5588 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.5687, allocations: 4 kB / 0.5588 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.5687, allocations: 4.156 kB / 0.5588 GB, free: 0.9883 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 6.159e-05/0.5688, allocations: 102.4 kB / 0.5589 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000111/0.5689, allocations: 98.72 kB / 0.559 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.5689, allocations: 15.86 kB / 0.559 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.5691, allocations: 104.1 kB / 0.5591 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5691, allocations: 4 kB / 0.5591 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5691, allocations: 4 kB / 0.5592 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5691, allocations: 0 / 0.5592 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.5694, allocations: 367.2 kB / 0.5595 GB, free: 324 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5694, allocations: 3.953 kB / 0.5595 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.5695, allocations: 15.11 kB / 0.5595 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5695, allocations: 0 / 0.5595 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.5695, allocations: 4 kB / 0.5595 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5695, allocations: 0 / 0.5595 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.5695, allocations: 288 / 0.5595 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.5697, allocations: 219.8 kB / 0.5597 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.851e-05/0.5697, allocations: 92.94 kB / 0.5598 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.5698, allocations: 7.688 kB / 0.5598 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.5698, allocations: 0 / 0.5598 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.5699, allocations: 11.92 kB / 0.5598 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.5699, allocations: 8 kB / 0.5599 GB, free: 15.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.608e-05/0.57, allocations: 113.3 kB / 0.56 GB, free: 15.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.57, allocations: 0 / 0.56 GB, free: 15.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.5703, allocations: 43.73 kB / 0.56 GB, free: 15.8 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.001393/0.5717, allocations: 1.134 MB / 0.5611 GB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.5719, allocations: 60.55 kB / 0.5612 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5719, allocations: 0 / 0.5612 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.716e-05/0.5719, allocations: 26.94 kB / 0.5612 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.5722, allocations: 19.67 kB / 0.5612 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/0.5728, allocations: 196.4 kB / 0.5614 GB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.5731, allocations: 0.7002 MB / 0.5621 GB, free: 13.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.238e-05/0.5732, allocations: 12.55 kB / 0.5621 GB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.5733, allocations: 40.59 kB / 0.5621 GB, free: 13.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5733, allocations: 4 kB / 0.5621 GB, free: 13.65 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.5998, allocations: 2.754 MB / 0.5648 GB, free: 10.91 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/0.6001, allocations: 163.2 kB / 0.565 GB, free: 10.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.252, allocations: 4 kB / 0.565 GB, free: 10.71 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat