Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",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.0008176/0.0008176, allocations: 94.34 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.0009296/0.0009296, allocations: 182.9 kB / 17.89 MB, free: 5.699 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.395/1.395, allocations: 223.2 MB / 241.9 MB, free: 292 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.2175/0.2175, allocations: 44.22 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003035, allocations: 11.44 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.001668/0.1293, allocations: 1.259 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1305, allocations: 0.957 MB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.1306, allocations: 0 / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.1308, allocations: 19.94 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1309, allocations: 39.84 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1312, allocations: 95.31 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.1313, allocations: 47.84 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.97e-05/0.1314, allocations: 11.98 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.1315, allocations: 15.94 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1316, allocations: 27.84 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1316, allocations: 0 / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.1317, allocations: 43.98 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.1318, allocations: 15.91 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.1318, allocations: 29.7 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1319, allocations: 64.12 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1319, allocations: 0 / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1319, allocations: 4 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.132, allocations: 0 / 474.3 MB, free: 10.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004315/0.1324, allocations: 371.1 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1324, allocations: 12.03 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.1325, allocations: 34.5 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.1325, allocations: 4 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1328, allocations: 190.9 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-06/0.1328, allocations: 0 / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1328, allocations: 11.94 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.133, allocations: 63.41 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.133, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.133, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.133, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.389e-05/0.1331, allocations: 35.91 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.1335, allocations: 280.9 kB / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1337, allocations: 50.5 kB / 475.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.1337, allocations: 16.94 kB / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1337, allocations: 0 / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1338, allocations: 42.5 kB / 475.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1338, allocations: 4 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005286/0.1343, allocations: 157.3 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1344, allocations: 89.05 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1345, allocations: 140.7 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1345, allocations: 29.7 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.1346, allocations: 92.02 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.1346, allocations: 19.8 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.1346, allocations: 0 / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1347, allocations: 322.8 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.1348, allocations: 23.98 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.1349, allocations: 41.69 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.643e-05/0.135, allocations: 23.98 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.135, allocations: 0 / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001871/0.1352, allocations: 93.61 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1352, allocations: 4 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1352, allocations: 7.984 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1352, allocations: 0 / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.1353, allocations: 15.94 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1353, allocations: 0 / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.1354, allocations: 11.98 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1354, allocations: 0 / 476.4 MB, free: 8.582 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 (5): * Single equations (assignments): 5 * 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.0001044/0.1355, allocations: 118.3 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1355, allocations: 7.906 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.1358, allocations: 109.6 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1358, allocations: 4 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1358, allocations: 0 / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1358, allocations: 0 / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.1362, allocations: 366.5 kB / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1362, allocations: 4 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.1363, allocations: 12.36 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1363, allocations: 4 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.1363, allocations: 3.938 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1363, allocations: 4 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1363, allocations: 0 / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.1366, allocations: 195.3 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.1367, allocations: 89.02 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.1367, allocations: 0 / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.1368, allocations: 11.98 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1368, allocations: 288 / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1368, allocations: 4 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.57e-05/0.1369, allocations: 107.2 kB / 477.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1369, allocations: 0 / 477.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1372, allocations: 20 kB / 477.5 MB, free: 7.438 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 (5): * Single equations (assignments): 5 * 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.001497/0.1387, allocations: 1.072 MB / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1389, allocations: 59.91 kB / 478.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1389, allocations: 0 / 478.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.139, allocations: 35.97 kB / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1393, allocations: 18.12 kB / 478.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.1403, allocations: 0.5376 MB / 479.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1405, allocations: 0.6887 MB / 479.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.795e-05/0.1406, allocations: 19.97 kB / 479.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.1406, allocations: 23.42 kB / 479.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1406, allocations: 3.938 kB / 479.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.1552, allocations: 2.31 MB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.1555, allocations: 220.2 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.087, allocations: 3.938 kB / 482.4 MB, free: 2.625 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat does not exist to compare? outputFormat=mat