Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",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.002359/0.002365, allocations: 178.3 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.313/2.313, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 91.83 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3031/0.3031, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.7e-05, allocations: 0 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4602, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.6273, allocations: 85.68 MB / 0.5497 GB, free: 13.54 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.6277, allocations: 71.97 kB / 0.5497 GB, free: 13.47 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0173/0.645, allocations: 3.893 MB / 0.5535 GB, free: 9.578 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6451, allocations: 0 / 0.5535 GB, free: 9.578 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.6451, allocations: 0 / 0.5535 GB, free: 9.578 MB / 395.1 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.0005124/0.6456, allocations: 374.9 kB / 0.5539 GB, free: 9.168 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.6457, allocations: 12.03 kB / 0.5539 GB, free: 9.156 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.6458, allocations: 11.91 kB / 0.5539 GB, free: 9.145 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.6461, allocations: 202.8 kB / 0.5541 GB, free: 8.906 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.6461, allocations: 4 kB / 0.5541 GB, free: 8.902 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.6461, allocations: 0 / 0.5541 GB, free: 8.902 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001162/0.6463, allocations: 19.98 kB / 0.5541 GB, free: 8.883 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.6464, allocations: 45.69 kB / 0.5542 GB, free: 8.832 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.6464, allocations: 3.938 kB / 0.5542 GB, free: 8.828 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.6464, allocations: 0 / 0.5542 GB, free: 8.828 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.6465, allocations: 4 kB / 0.5542 GB, free: 8.824 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.647, allocations: 281.2 kB / 0.5544 GB, free: 8.512 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.6471, allocations: 42.56 kB / 0.5545 GB, free: 8.461 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.6471, allocations: 12.98 kB / 0.5545 GB, free: 8.445 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.6472, allocations: 4 kB / 0.5545 GB, free: 8.441 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.6473, allocations: 34.56 kB / 0.5545 GB, free: 8.398 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.6473, allocations: 0 / 0.5545 GB, free: 8.398 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006181/0.6479, allocations: 133.4 kB / 0.5547 GB, free: 8.262 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.648, allocations: 55.41 kB / 0.5547 GB, free: 8.195 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.6482, allocations: 140 kB / 0.5548 GB, free: 8.051 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.6482, allocations: 25.7 kB / 0.5549 GB, free: 8.02 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.6483, allocations: 162.5 kB / 0.555 GB, free: 7.859 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.6483, allocations: 23.56 kB / 0.5551 GB, free: 7.836 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.6484, allocations: 4 kB / 0.5551 GB, free: 7.832 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6485, allocations: 315 kB / 0.5554 GB, free: 7.516 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.268e-05/0.6486, allocations: 15.98 kB / 0.5554 GB, free: 7.5 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.367e-05/0.6486, allocations: 12 kB / 0.5554 GB, free: 7.488 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.066e-05/0.6487, allocations: 20 kB / 0.5554 GB, free: 7.469 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6487, allocations: 0 / 0.5554 GB, free: 7.469 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001726/0.6489, allocations: 65.62 kB / 0.5555 GB, free: 7.398 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.6489, allocations: 4 kB / 0.5555 GB, free: 7.395 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.649, allocations: 4 kB / 0.5555 GB, free: 7.391 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.649, allocations: 4 kB / 0.5555 GB, free: 7.387 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.6492, allocations: 19.98 kB / 0.5555 GB, free: 7.367 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.6492, allocations: 320 / 0.5555 GB, free: 7.367 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.6493, allocations: 11.94 kB / 0.5555 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.6493, allocations: 8 kB / 0.5555 GB, free: 7.348 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.087e-05/0.6494, allocations: 105 kB / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001914/0.6496, allocations: 81.5 kB / 0.5557 GB, free: 7.152 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.6497, allocations: 11.91 kB / 0.5557 GB, free: 7.141 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.65, allocations: 86.3 kB / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.65, allocations: 0 / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.65, allocations: 3.953 kB / 0.5558 GB, free: 7.051 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.65, allocations: 3.938 kB / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.6506, allocations: 347 kB / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6506, allocations: 0 / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.6508, allocations: 23.98 kB / 0.5561 GB, free: 6.641 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6508, allocations: 0 / 0.5561 GB, free: 6.641 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.6508, allocations: 4.141 kB / 0.5561 GB, free: 6.637 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.6508, allocations: 4 kB / 0.5562 GB, free: 6.633 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6508, allocations: 0 / 0.5562 GB, free: 6.633 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.6511, allocations: 171.4 kB / 0.5563 GB, free: 6.449 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-05/0.6512, allocations: 93 kB / 0.5564 GB, free: 6.34 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.6512, allocations: 3.938 kB / 0.5564 GB, free: 6.336 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.6514, allocations: 11.95 kB / 0.5564 GB, free: 6.324 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.6514, allocations: 7.984 kB / 0.5564 GB, free: 6.316 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.6514, allocations: 4 kB / 0.5564 GB, free: 6.312 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.6516, allocations: 111.3 kB / 0.5565 GB, free: 6.203 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6516, allocations: 0 / 0.5565 GB, free: 6.203 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.652, allocations: 19.94 kB / 0.5566 GB, free: 6.184 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0015/0.6535, allocations: 0.9344 MB / 0.5575 GB, free: 5.266 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.6537, allocations: 43.98 kB / 0.5575 GB, free: 5.223 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6537, allocations: 0 / 0.5575 GB, free: 5.223 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.826e-05/0.6538, allocations: 23.94 kB / 0.5575 GB, free: 5.199 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.6541, allocations: 35.53 kB / 0.5576 GB, free: 5.168 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.6548, allocations: 207.4 kB / 0.5578 GB, free: 4.922 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.6552, allocations: 0.704 MB / 0.5585 GB, free: 4.191 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.372e-05/0.6554, allocations: 27.42 kB / 0.5585 GB, free: 4.164 MB / 395.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6554, allocations: 0 / 0.5585 GB, free: 4.164 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.772/3.427, allocations: 1.986 MB / 0.5604 GB, free: 2.188 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat does not exist to compare? outputFormat=mat