Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001093/0.001092, allocations: 95.89 kB / 16.98 MB, free: 6.402 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.001224/0.001224, allocations: 178 kB / 17.88 MB, free: 5.957 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.521/1.521, allocations: 223.2 MB / 241.8 MB, free: 360 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.2129/0.2129, allocations: 44.23 MB / 337.1 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004102, allocations: 8.812 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1425, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002086/0.1446, allocations: 1.267 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1462, allocations: 0.9375 MB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.1462, allocations: 0 / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.1465, allocations: 23.84 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.1466, allocations: 39.84 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.1469, allocations: 59.91 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1471, allocations: 39.89 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1473, allocations: 12 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.1473, allocations: 19.91 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1475, allocations: 27.8 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1476, allocations: 0 / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.1477, allocations: 27.98 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.1477, allocations: 15.92 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.1478, allocations: 25.7 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1479, allocations: 68.12 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.148, allocations: 0 / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.148, allocations: 4 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.148, allocations: 0 / 474.1 MB, free: 11.05 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.0005894/0.1486, allocations: 375.1 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1486, allocations: 8.031 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.1487, allocations: 42.44 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.1487, allocations: 4 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.149, allocations: 190.9 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.149, allocations: 0 / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.1491, allocations: 11.95 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.1493, allocations: 59.41 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1493, allocations: 0 / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1493, allocations: 0 / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.1493, allocations: 4 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1494, allocations: 31.91 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.1498, allocations: 272.9 kB / 475.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.1501, allocations: 42.56 kB / 475.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1501, allocations: 0 / 475.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1501, allocations: 34.56 kB / 475.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.1501, allocations: 4 kB / 475.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005573/0.1507, allocations: 153.3 kB / 475.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.1508, allocations: 85.11 kB / 475.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1509, allocations: 136.3 kB / 475.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1509, allocations: 29.64 kB / 475.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.151, allocations: 96.08 kB / 475.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.151, allocations: 11.8 kB / 475.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.151, allocations: 4 kB / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1512, allocations: 318.8 kB / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.1513, allocations: 23.98 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.697e-05/0.1513, allocations: 37.7 kB / 476 MB, free: 8.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.698e-05/0.1514, allocations: 19.98 kB / 476 MB, free: 8.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1514, allocations: 0 / 476 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001749/0.1516, allocations: 97.59 kB / 476.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1516, allocations: 4 kB / 476.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1516, allocations: 0 / 476.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1516, allocations: 0 / 476.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.1517, allocations: 15.94 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1517, allocations: 3.984 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.1518, allocations: 16.27 kB / 476.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1518, allocations: 0 / 476.2 MB, free: 8.719 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 8.804e-05/0.1519, allocations: 118.3 kB / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1519, allocations: 7.906 kB / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.1521, allocations: 101.9 kB / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1522, allocations: 0 / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1522, allocations: 0 / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1522, allocations: 4 kB / 476.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.1526, allocations: 358.5 kB / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1526, allocations: 3.938 kB / 476.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.1527, allocations: 15.98 kB / 476.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1527, allocations: 0 / 476.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1527, allocations: 0 / 476.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1527, allocations: 0 / 476.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1527, allocations: 0 / 476.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.153, allocations: 191.3 kB / 477 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.1531, allocations: 93 kB / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1531, allocations: 3.938 kB / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.1532, allocations: 4 kB / 477.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.1532, allocations: 7.984 kB / 477.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1532, allocations: 0 / 477.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.697e-05/0.1533, allocations: 107.3 kB / 477.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1533, allocations: 0 / 477.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1536, allocations: 23.98 kB / 477.2 MB, free: 7.594 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.001561/0.1552, allocations: 1.058 MB / 478.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1554, allocations: 51.97 kB / 478.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1554, allocations: 0 / 478.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.1555, allocations: 31.97 kB / 478.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.1557, allocations: 12 kB / 478.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1567, allocations: 0.5207 MB / 478.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.157, allocations: 0.6926 MB / 479.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.1571, allocations: 15.97 kB / 479.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.1572, allocations: 23.42 kB / 479.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1572, allocations: 0 / 479.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.1704, allocations: 2.275 MB / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.1706, allocations: 223.3 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/1.961, allocations: 0 / 482.1 MB, free: 2.867 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat does not exist to compare? outputFormat=mat