Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",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.0008303/0.0008302, allocations: 93.98 kB / 17 MB, free: 6.418 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.0007873/0.0007878, allocations: 191.4 kB / 17.89 MB, free: 5.945 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.391/1.391, allocations: 223.2 MB / 241.9 MB, free: 248 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.2005/0.2005, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1266, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.001955/0.1286, allocations: 1.259 MB / 472.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.13, allocations: 0.957 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.1301, allocations: 8 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.1303, allocations: 15.92 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1305, allocations: 35.91 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1308, allocations: 91.81 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1309, allocations: 51.78 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.131, allocations: 8 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.1311, allocations: 31.84 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1312, allocations: 18.59 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1313, allocations: 0 / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1314, allocations: 47.97 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.1314, allocations: 3.938 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.1315, allocations: 33.7 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.1316, allocations: 60.19 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1316, allocations: 3.938 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1316, allocations: 4 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1316, allocations: 0 / 474.3 MB, free: 11 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.0005354/0.1322, allocations: 375.1 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.1323, allocations: 12.03 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.1323, allocations: 30.56 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.1323, allocations: 4 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1325, allocations: 190.9 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.1326, allocations: 0 / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.1326, allocations: 3.953 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1327, allocations: 75.33 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1328, allocations: 3.984 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1328, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1328, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.1329, allocations: 27.98 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.1333, allocations: 280.9 kB / 475.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.1336, allocations: 54.48 kB / 475.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.1336, allocations: 12.86 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1336, allocations: 96 / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.1337, allocations: 42.55 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1337, allocations: 0 / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006007/0.1343, allocations: 161.3 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.1344, allocations: 77.11 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1345, allocations: 144.1 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1345, allocations: 29.7 kB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.1346, allocations: 92.06 kB / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.1346, allocations: 15.81 kB / 475.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.1346, allocations: 0 / 475.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1348, allocations: 326.7 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.1348, allocations: 23.98 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.1349, allocations: 41.7 kB / 476.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.135, allocations: 24.17 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.135, allocations: 4.031 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001865/0.1352, allocations: 105.4 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1353, allocations: 4 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1353, allocations: 4 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1353, allocations: 0 / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.1354, allocations: 15.98 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1354, allocations: 4 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.1354, allocations: 4 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.1354, allocations: 0 / 476.4 MB, free: 8.613 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.0001692/0.1356, allocations: 126.3 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1356, allocations: 3.906 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.1359, allocations: 109.6 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1359, allocations: 0 / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1359, allocations: 0 / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1359, allocations: 0 / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.1364, allocations: 366.5 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1364, allocations: 0 / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.1364, allocations: 19.92 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1365, allocations: 4 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1365, allocations: 0 / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1365, allocations: 0 / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1365, allocations: 0 / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1367, allocations: 195.4 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.1368, allocations: 89.25 kB / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1368, allocations: 0 / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.1369, allocations: 12 kB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.1369, allocations: 3.984 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1369, allocations: 8 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.927e-05/0.137, allocations: 101 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.137, allocations: 0 / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1373, allocations: 20 kB / 477.4 MB, free: 7.473 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.001512/0.1388, allocations: 1.078 MB / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.139, allocations: 59.95 kB / 478.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1391, allocations: 0 / 478.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1392, allocations: 35.92 kB / 478.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1395, allocations: 11.98 kB / 478.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1405, allocations: 0.5481 MB / 479.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1408, allocations: 0.6887 MB / 479.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.671e-05/0.1409, allocations: 15.98 kB / 479.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.141, allocations: 23.42 kB / 479.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.141, allocations: 0 / 479.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.1605, allocations: 2.313 MB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/0.1608, allocations: 223.1 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.077, allocations: 0 / 482.4 MB, free: 2.66 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat does not exist to compare? outputFormat=mat