Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.0009914/0.0009914, allocations: 183.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2874/0.2874, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.000377, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4614/0.6031, allocations: 87.69 MB / 0.5645 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.6034, allocations: 68.22 kB / 0.5646 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.6184, allocations: 5.288 MB / 0.5697 GB, free: 7.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.6184, allocations: 4 kB / 0.5697 GB, free: 7.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.6184, allocations: 0 / 0.5697 GB, free: 7.574 MB / 378.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.0006235/0.6191, allocations: 425.5 kB / 0.5701 GB, free: 7.121 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.6191, allocations: 12.03 kB / 0.5701 GB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.333e-05/0.6192, allocations: 38.55 kB / 0.5702 GB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.6193, allocations: 15.78 kB / 0.5702 GB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.6196, allocations: 216.9 kB / 0.5704 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.6196, allocations: 0 / 0.5704 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.6196, allocations: 4 kB / 0.5704 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.6198, allocations: 52.55 kB / 0.5705 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.6198, allocations: 0 / 0.5705 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.6198, allocations: 3.625 kB / 0.5705 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6199, allocations: 4 kB / 0.5705 GB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.163e-05/0.6199, allocations: 19.17 kB / 0.5705 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.6204, allocations: 303.4 kB / 0.5708 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.6206, allocations: 56.8 kB / 0.5708 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.6206, allocations: 4 kB / 0.5708 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.6208, allocations: 71.14 kB / 0.5709 GB, free: 6.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.6208, allocations: 0 / 0.5709 GB, free: 6.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005972/0.6214, allocations: 176.2 kB / 0.5711 GB, free: 6.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.6215, allocations: 55.41 kB / 0.5711 GB, free: 6.062 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.6216, allocations: 170.6 kB / 0.5713 GB, free: 5.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.6217, allocations: 33.19 kB / 0.5713 GB, free: 5.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.6218, allocations: 101.1 kB / 0.5714 GB, free: 5.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.6218, allocations: 26.83 kB / 0.5714 GB, free: 5.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.6218, allocations: 0 / 0.5714 GB, free: 5.762 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.622, allocations: 325.8 kB / 0.5717 GB, free: 5.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.13e-05/0.622, allocations: 22.86 kB / 0.5718 GB, free: 5.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.6221, allocations: 36.5 kB / 0.5718 GB, free: 5.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.329e-05/0.6222, allocations: 22.94 kB / 0.5718 GB, free: 5.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.6222, allocations: 0 / 0.5718 GB, free: 5.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.6224, allocations: 110.5 kB / 0.5719 GB, free: 5.281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.6224, allocations: 6.656 kB / 0.5719 GB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6224, allocations: 4 kB / 0.5719 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.6225, allocations: 0 / 0.5719 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.6226, allocations: 12 kB / 0.5719 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.6226, allocations: 3.953 kB / 0.5719 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.6227, allocations: 11.61 kB / 0.572 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.6227, allocations: 4 kB / 0.572 GB, free: 5.246 MB / 378.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 () * Number of clocked 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 0.0001224/0.6228, allocations: 129.3 kB / 0.5721 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.6228, allocations: 11.34 kB / 0.5721 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.6231, allocations: 127.7 kB / 0.5722 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.6231, allocations: 4.375 kB / 0.5722 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6232, allocations: 0 / 0.5722 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.6232, allocations: 3.953 kB / 0.5722 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.6237, allocations: 418.7 kB / 0.5726 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6237, allocations: 0 / 0.5726 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.6238, allocations: 8.625 kB / 0.5726 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.6238, allocations: 3.984 kB / 0.5726 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.6238, allocations: 8.547 kB / 0.5726 GB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.6238, allocations: 7.891 kB / 0.5727 GB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6238, allocations: 0 / 0.5727 GB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.6241, allocations: 219.9 kB / 0.5729 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.6242, allocations: 95.38 kB / 0.573 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.6242, allocations: 5.078 kB / 0.573 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.6243, allocations: 5.062 kB / 0.573 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.6244, allocations: 9.109 kB / 0.573 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.6244, allocations: 0.5625 kB / 0.573 GB, free: 4.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.6245, allocations: 147.2 kB / 0.5731 GB, free: 4.059 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6245, allocations: 0 / 0.5731 GB, free: 4.059 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002727/0.6248, allocations: 39.03 kB / 0.5732 GB, free: 4.023 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) * Number of clocked states: 0 () * 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.001559/0.6264, allocations: 1.2 MB / 0.5743 GB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.6266, allocations: 57.72 kB / 0.5744 GB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6266, allocations: 4 kB / 0.5744 GB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.6267, allocations: 27.05 kB / 0.5744 GB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.627, allocations: 30.61 kB / 0.5744 GB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.6283, allocations: 0.865 MB / 0.5753 GB, free: 1.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.6287, allocations: 0.7115 MB / 0.576 GB, free: 1.199 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.6287, allocations: 16.84 kB / 0.576 GB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.6288, allocations: 39.8 kB / 0.576 GB, free: 1.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.594e-06/0.6288, allocations: 112 / 0.576 GB, free: 1.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.6451, allocations: 3.001 MB / 0.579 GB, free: 14.18 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.6454, allocations: 213.7 kB / 0.5792 GB, free: 13.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.213, allocations: 0 / 0.5792 GB, free: 13.93 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat