Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.001123/0.001123, allocations: 177.6 kB / 8.002 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.422/1.422, 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.0007736/0.0007737, allocations: 86.16 kB / 261.7 MB, free: 1.688 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.2239/0.2239, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.454e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1286, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.5825, allocations: 86.96 MB / 0.551 GB, free: 7.684 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5828, allocations: 76 kB / 0.551 GB, free: 7.648 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01272/0.5955, allocations: 5.405 MB / 0.5563 GB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5956, allocations: 3.984 kB / 0.5563 GB, free: 3.367 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.5956, allocations: 7.938 kB / 0.5563 GB, free: 3.359 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.0004299/0.596, allocations: 398.6 kB / 0.5567 GB, free: 2.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5961, allocations: 8.031 kB / 0.5567 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.5961, allocations: 11.84 kB / 0.5567 GB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.5964, allocations: 219 kB / 0.5569 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.5964, allocations: 4 kB / 0.5569 GB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.5965, allocations: 4 kB / 0.5569 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.387e-05/0.5966, allocations: 19.8 kB / 0.557 GB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.813e-05/0.5967, allocations: 49.44 kB / 0.557 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.5967, allocations: 0 / 0.557 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.5967, allocations: 3.984 kB / 0.557 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5967, allocations: 0 / 0.557 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.5971, allocations: 272.6 kB / 0.5573 GB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.786e-05/0.5972, allocations: 54.19 kB / 0.5573 GB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.5973, allocations: 16.48 kB / 0.5573 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.5973, allocations: 0 / 0.5573 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.5974, allocations: 63.77 kB / 0.5574 GB, free: 2.176 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.5974, allocations: 0 / 0.5574 GB, free: 2.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004121/0.5979, allocations: 147.8 kB / 0.5575 GB, free: 2.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.5979, allocations: 59.34 kB / 0.5576 GB, free: 1.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.598, allocations: 189.2 kB / 0.5578 GB, free: 1.809 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.5981, allocations: 29.7 kB / 0.5578 GB, free: 1.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.5981, allocations: 103.8 kB / 0.5579 GB, free: 1.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.5981, allocations: 23.53 kB / 0.5579 GB, free: 1.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.5982, allocations: 0 / 0.5579 GB, free: 1.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.5982, allocations: 326.6 kB / 0.5582 GB, free: 1.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-05/0.5983, allocations: 11.94 kB / 0.5582 GB, free: 1.332 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-05/0.5983, allocations: 44.64 kB / 0.5583 GB, free: 1.293 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.5983, allocations: 15.94 kB / 0.5583 GB, free: 1.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5984, allocations: 0 / 0.5583 GB, free: 1.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001139/0.5985, allocations: 93.02 kB / 0.5584 GB, free: 1.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5985, allocations: 4 kB / 0.5584 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5985, allocations: 0 / 0.5584 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5985, allocations: 4 kB / 0.5584 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.5986, allocations: 16.12 kB / 0.5584 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5986, allocations: 8.016 kB / 0.5584 GB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.889e-05/0.5987, allocations: 8 kB / 0.5584 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.5987, allocations: 3.953 kB / 0.5584 GB, free: 1.156 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.172e-05/0.5988, allocations: 108.8 kB / 0.5585 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001186/0.5989, allocations: 100.6 kB / 0.5586 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.5989, allocations: 11.91 kB / 0.5586 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.5991, allocations: 110.8 kB / 0.5587 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5991, allocations: 0 / 0.5587 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5991, allocations: 7.953 kB / 0.5588 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5992, allocations: 0 / 0.5588 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.5995, allocations: 381.3 kB / 0.5591 GB, free: 476 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5995, allocations: 4 kB / 0.5591 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.5995, allocations: 11.94 kB / 0.5591 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5995, allocations: 0 / 0.5591 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.5996, allocations: 0 / 0.5591 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5996, allocations: 7.953 kB / 0.5591 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5996, allocations: 0 / 0.5591 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.5997, allocations: 217.4 kB / 0.5593 GB, free: 228 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.5998, allocations: 96.91 kB / 0.5594 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.5998, allocations: 3.953 kB / 0.5594 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.5999, allocations: 7.938 kB / 0.5595 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.5999, allocations: 15.84 kB / 0.5595 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.6, allocations: 4 kB / 0.5595 GB, free: 84 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.6001, allocations: 144.2 kB / 0.5596 GB, free: 15.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6001, allocations: 0 / 0.5596 GB, free: 15.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.6003, allocations: 35.86 kB / 0.5596 GB, free: 15.93 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.001286/0.6016, allocations: 1.093 MB / 0.5607 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.6018, allocations: 54.88 kB / 0.5608 GB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6018, allocations: 0 / 0.5608 GB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.6019, allocations: 35.8 kB / 0.5608 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.6021, allocations: 19.92 kB / 0.5608 GB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.6027, allocations: 218.5 kB / 0.561 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.603, allocations: 0.7155 MB / 0.5617 GB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.6031, allocations: 20.86 kB / 0.5617 GB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.6032, allocations: 35.11 kB / 0.5618 GB, free: 13.79 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6032, allocations: 0 / 0.5618 GB, free: 13.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.6256, allocations: 2.721 MB / 0.5644 GB, free: 11.08 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.6259, allocations: 158.5 kB / 0.5646 GB, free: 10.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.302, allocations: 0 / 0.5646 GB, free: 10.89 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat