Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.0009534/0.0009534, allocations: 98.39 kB / 17 MB, free: 6.121 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.001154/0.001154, allocations: 183.2 kB / 17.89 MB, free: 5.703 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.433/1.433, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2114/0.2114, allocations: 44.23 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 10.03 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1301, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002268/0.1324, allocations: 1.609 MB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.134, allocations: 0.9088 MB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1341, allocations: 4 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.1346, allocations: 247.4 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.135, allocations: 171.5 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1364, allocations: 0.5996 MB / 475.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.1369, allocations: 259.2 kB / 475.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.1371, allocations: 64.56 kB / 475.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1372, allocations: 107.5 kB / 475.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.1375, allocations: 159.4 kB / 475.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.1375, allocations: 4 kB / 475.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.1377, allocations: 55.92 kB / 475.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.1378, allocations: 83.72 kB / 475.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.1379, allocations: 69.45 kB / 476 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.1382, allocations: 231.6 kB / 476.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.1382, allocations: 0 / 476.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1382, allocations: 0 / 476.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1382, allocations: 0 / 476.2 MB, free: 9.082 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008771/0.1391, allocations: 0.6029 MB / 476.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1392, allocations: 8.031 kB / 476.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.461e-05/0.1392, allocations: 50.55 kB / 476.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.1393, allocations: 39.53 kB / 476.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.1397, allocations: 313.1 kB / 477.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1398, allocations: 8 kB / 477.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.1398, allocations: 15.95 kB / 477.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.1401, allocations: 125.6 kB / 477.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1401, allocations: 0 / 477.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1402, allocations: 8 kB / 477.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1402, allocations: 0 / 477.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.1404, allocations: 103.9 kB / 477.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008409/0.1412, allocations: 0.5081 MB / 478 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.1415, allocations: 118.5 kB / 478.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.1416, allocations: 36.84 kB / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/0.1416, allocations: 0 / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.1417, allocations: 38.56 kB / 478.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1417, allocations: 0 / 478.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001004/0.1427, allocations: 467.7 kB / 478.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1427, allocations: 55.41 kB / 478.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.1433, allocations: 0.5526 MB / 479.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1434, allocations: 25.7 kB / 479.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1435, allocations: 208.3 kB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.1436, allocations: 55.19 kB / 479.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.1436, allocations: 4 kB / 479.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1437, allocations: 350.8 kB / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1439, allocations: 67.95 kB / 479.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.144, allocations: 79.86 kB / 480 MB, free: 5.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1441, allocations: 74 kB / 480.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1442, allocations: 0 / 480.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003578/0.1445, allocations: 237 kB / 480.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1445, allocations: 11.94 kB / 480.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1446, allocations: 0 / 480.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1446, allocations: 0 / 480.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1447, allocations: 35.97 kB / 480.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1447, allocations: 0 / 480.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.336e-05/0.1448, allocations: 12 kB / 480.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.1448, allocations: 4 kB / 480.4 MB, free: 4.691 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 (17): * Single equations (assignments): 17 * 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.0002073/0.1451, allocations: 186.3 kB / 480.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.1451, allocations: 43.48 kB / 480.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.1457, allocations: 287.4 kB / 480.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1457, allocations: 8 kB / 480.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1457, allocations: 0 / 480.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1457, allocations: 0 / 480.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009673/0.1467, allocations: 0.6933 MB / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1467, allocations: 4 kB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1468, allocations: 35.92 kB / 481.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1468, allocations: 0 / 481.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1468, allocations: 4 kB / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1469, allocations: 3.984 kB / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1469, allocations: 0 / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.1473, allocations: 340.6 kB / 481.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.362e-05/0.1474, allocations: 128.5 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.1474, allocations: 4 kB / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.1475, allocations: 8 kB / 482.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.1476, allocations: 19.91 kB / 482.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1476, allocations: 12 kB / 482.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003959/0.148, allocations: 411.1 kB / 482.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.148, allocations: 0 / 482.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1483, allocations: 48 kB / 482.6 MB, free: 2.383 MB / 350.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002113/0.1504, allocations: 1.464 MB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.1508, allocations: 178.2 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1508, allocations: 0 / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.151, allocations: 95.89 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.1515, allocations: 65.48 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.1544, allocations: 2.122 MB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.1548, allocations: 0.8263 MB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.155, allocations: 54.23 kB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.1552, allocations: 123.4 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1552, allocations: 0 / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.1747, allocations: 6.818 MB / 494.3 MB, free: 6.992 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/0.175, allocations: 220.7 kB / 494.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.147, allocations: 0 / 494.5 MB, free: 6.75 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat