Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.0009319/0.0009319, allocations: 178.3 kB / 8.008 MB, free: 1.066 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.631/1.631, 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.0008737/0.0008733, allocations: 90.08 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.2112/0.2112, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.21e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4711/0.5933, allocations: 86.99 MB / 0.551 GB, free: 7.637 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5936, allocations: 78.95 kB / 0.5511 GB, free: 7.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01323/0.6068, allocations: 5.532 MB / 0.5565 GB, free: 3.414 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.6069, allocations: 0 / 0.5565 GB, free: 3.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.6069, allocations: 4 kB / 0.5565 GB, free: 3.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004842/0.6074, allocations: 434.5 kB / 0.5569 GB, free: 2.953 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.6075, allocations: 8.031 kB / 0.5569 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.6075, allocations: 15.81 kB / 0.5569 GB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.6079, allocations: 245.9 kB / 0.5571 GB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.6079, allocations: 0 / 0.5571 GB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.6079, allocations: 7.984 kB / 0.5572 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.469e-05/0.608, allocations: 31.98 kB / 0.5572 GB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.6081, allocations: 100.2 kB / 0.5573 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.6082, allocations: 0 / 0.5573 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.6082, allocations: 3.812 kB / 0.5573 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.6082, allocations: 4 kB / 0.5573 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.6084, allocations: 190.5 kB / 0.5575 GB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.6085, allocations: 96.59 kB / 0.5576 GB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.6086, allocations: 29.41 kB / 0.5576 GB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.6086, allocations: 8.031 kB / 0.5576 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.6087, allocations: 108.3 kB / 0.5577 GB, free: 2.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.6087, allocations: 0 / 0.5577 GB, free: 2.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002304/0.609, allocations: 128.8 kB / 0.5578 GB, free: 1.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.609, allocations: 132.4 kB / 0.5579 GB, free: 1.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.6092, allocations: 193.7 kB / 0.5581 GB, free: 1.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.6092, allocations: 25.7 kB / 0.5582 GB, free: 1.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.6092, allocations: 111.4 kB / 0.5583 GB, free: 1.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.6093, allocations: 31.38 kB / 0.5583 GB, free: 1.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-06/0.6093, allocations: 4 kB / 0.5583 GB, free: 1.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.6093, allocations: 330.4 kB / 0.5586 GB, free: 1.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.801e-05/0.6094, allocations: 19.31 kB / 0.5586 GB, free: 1.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.6094, allocations: 64.7 kB / 0.5587 GB, free: 1.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.313e-05/0.6095, allocations: 39.34 kB / 0.5587 GB, free: 1.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6095, allocations: 4 kB / 0.5587 GB, free: 1.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000148/0.6097, allocations: 116.4 kB / 0.5588 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.6097, allocations: 4 kB / 0.5588 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.6097, allocations: 4 kB / 0.5589 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6097, allocations: 0 / 0.5589 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.6098, allocations: 23.98 kB / 0.5589 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.6098, allocations: 0 / 0.5589 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.6099, allocations: 7.984 kB / 0.5589 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.6099, allocations: 8.062 kB / 0.5589 GB, free: 0.9023 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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 6.185e-05/0.61, allocations: 120.7 kB / 0.559 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001529/0.6102, allocations: 129 kB / 0.5591 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.6102, allocations: 19.72 kB / 0.5591 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.6104, allocations: 145.6 kB / 0.5593 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.6104, allocations: 7.984 kB / 0.5593 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6104, allocations: 3.938 kB / 0.5593 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6104, allocations: 0 / 0.5593 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.6105, allocations: 201.2 kB / 0.5595 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6106, allocations: 0 / 0.5595 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.6106, allocations: 19.56 kB / 0.5595 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6106, allocations: 0 / 0.5595 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.6106, allocations: 3.984 kB / 0.5595 GB, free: 288 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6106, allocations: 4 kB / 0.5595 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6106, allocations: 0 / 0.5595 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.6108, allocations: 178.6 kB / 0.5597 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.6109, allocations: 101 kB / 0.5598 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.6109, allocations: 4 kB / 0.5598 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.611, allocations: 11.8 kB / 0.5598 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.6111, allocations: 4 kB / 0.5598 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.6111, allocations: 7.984 kB / 0.5598 GB, free: 15.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.6112, allocations: 152.5 kB / 0.56 GB, free: 15.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.585e-06/0.6112, allocations: 3.938 kB / 0.56 GB, free: 15.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002629/0.6115, allocations: 55.75 kB / 0.56 GB, free: 15.78 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001229/0.6127, allocations: 1.063 MB / 0.561 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.6129, allocations: 75.05 kB / 0.5611 GB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6129, allocations: 0 / 0.5611 GB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.532e-05/0.613, allocations: 39.25 kB / 0.5612 GB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.6133, allocations: 59.48 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.0006277/0.6139, allocations: 254.8 kB / 0.5615 GB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.6143, allocations: 0.7241 MB / 0.5622 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.06e-05/0.6144, allocations: 25.33 kB / 0.5622 GB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.6145, allocations: 50.53 kB / 0.5622 GB, free: 13.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6145, allocations: 0 / 0.5622 GB, free: 13.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.6395, allocations: 3.816 MB / 0.566 GB, free: 9.777 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.6397, allocations: 165.4 kB / 0.5661 GB, free: 9.582 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.25, allocations: 0 / 0.5661 GB, free: 9.582 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat