Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009013/0.000901, allocations: 93.39 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009101/0.0009102, allocations: 186.5 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.221/0.221, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003524, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001838/0.1429, allocations: 1.329 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006847/0.1436, allocations: 387.6 kB / 473.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.1436, allocations: 0 / 473.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.1439, allocations: 43.88 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.144, allocations: 51.77 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.1444, allocations: 154.7 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1445, allocations: 55.86 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.1446, allocations: 19.98 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.1447, allocations: 27.91 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.1448, allocations: 27.84 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1448, allocations: 4 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.071e-05/0.1449, allocations: 31.94 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.1449, allocations: 19.91 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.145, allocations: 37.64 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1451, allocations: 84.09 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.1451, allocations: 4 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1451, allocations: 0 / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1451, allocations: 0 / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004932/0.1456, allocations: 395 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1457, allocations: 8.031 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.1457, allocations: 38.5 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.1458, allocations: 7.906 kB / 474.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.146, allocations: 200.8 kB / 474.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.146, allocations: 8 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.146, allocations: 3.953 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1462, allocations: 65.67 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1462, allocations: 3.938 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1462, allocations: 11.92 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1462, allocations: 0 / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.1464, allocations: 47.97 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.1469, allocations: 328.7 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.1471, allocations: 70.58 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1471, allocations: 0 / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1471, allocations: 30.56 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.1471, allocations: 0 / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00146/0.1486, allocations: 489.4 kB / 475.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1487, allocations: 51.41 kB / 475.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1488, allocations: 186.4 kB / 475.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1489, allocations: 29.7 kB / 475.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.1489, allocations: 116 kB / 475.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.149, allocations: 35.41 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.149, allocations: 0 / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1491, allocations: 322.8 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1492, allocations: 67.95 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.1494, allocations: 63.89 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1495, allocations: 63.97 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1495, allocations: 0 / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003251/0.1498, allocations: 173.5 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1499, allocations: 12 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1499, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1499, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.15, allocations: 35.92 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.15, allocations: 0 / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.1501, allocations: 15.98 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1501, allocations: 7.953 kB / 476.6 MB, free: 8.312 MB / 350.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001092/0.1502, allocations: 130.4 kB / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1503, allocations: 7.906 kB / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.1507, allocations: 214.5 kB / 477 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1507, allocations: 4 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1507, allocations: 0 / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1507, allocations: 3.984 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/0.1514, allocations: 0.5 MB / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.1514, allocations: 4 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.1515, allocations: 35.98 kB / 477.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1515, allocations: 0 / 477.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1516, allocations: 4 kB / 477.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1516, allocations: 7.953 kB / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1516, allocations: 3.984 kB / 477.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.152, allocations: 316.4 kB / 477.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.152, allocations: 96.95 kB / 477.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.1521, allocations: 4.188 kB / 477.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1522, allocations: 19.98 kB / 478 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.1522, allocations: 11.98 kB / 478 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1522, allocations: 0 / 478 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.671e-05/0.1523, allocations: 137.6 kB / 478.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1524, allocations: 7.938 kB / 478.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1526, allocations: 27.98 kB / 478.1 MB, free: 6.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001548/0.1542, allocations: 1.322 MB / 479.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.1545, allocations: 147.8 kB / 479.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1546, allocations: 0 / 479.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1547, allocations: 75.89 kB / 479.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.155, allocations: 24.11 kB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1564, allocations: 0.8796 MB / 480.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1567, allocations: 0.7158 MB / 481.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.813e-05/0.1569, allocations: 36.38 kB / 481.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.1569, allocations: 35.42 kB / 481.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1569, allocations: 0 / 481.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.1711, allocations: 2.853 MB / 484.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.1713, allocations: 214.6 kB / 484.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/1.859, allocations: 4 kB / 484.4 MB, free: 0.5273 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat does not exist to compare? outputFormat=mat