Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001032/0.001033, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.001451/0.001451, allocations: 178.2 kB / 17.88 MB, free: 5.926 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.424/1.424, allocations: 223.3 MB / 241.9 MB, free: 352 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.2368/0.2368, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 13.78 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001982/0.1345, allocations: 1.259 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006808/0.1352, allocations: 367.6 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.1352, allocations: 0 / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1354, allocations: 19.91 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.1356, allocations: 27.92 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.1358, allocations: 79.84 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.136, allocations: 47.84 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.1361, allocations: 11.98 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.892e-05/0.1361, allocations: 15.88 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.1362, allocations: 23.91 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1362, allocations: 0 / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-05/0.1363, allocations: 23.92 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.1363, allocations: 8 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.1364, allocations: 37.64 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1365, allocations: 60.19 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1365, allocations: 0 / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1366, allocations: 3.938 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1366, allocations: 0 / 473.6 MB, free: 11.62 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.0005279/0.1371, allocations: 375.1 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1371, allocations: 8.031 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.1372, allocations: 30.56 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.1372, allocations: 7.906 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.1375, allocations: 194.8 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1375, allocations: 0 / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1375, allocations: 11.94 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1377, allocations: 49.69 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1377, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1377, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1377, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.578e-05/0.1378, allocations: 31.97 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.1382, allocations: 272.9 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1384, allocations: 42.55 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.1385, allocations: 20.86 kB / 474.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1385, allocations: 4 kB / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1385, allocations: 30.56 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1385, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005594/0.1391, allocations: 157.3 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.1392, allocations: 59.39 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1393, allocations: 152.4 kB / 475 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1393, allocations: 25.7 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.1394, allocations: 100 kB / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1394, allocations: 15.69 kB / 475.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.1394, allocations: 4 kB / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1396, allocations: 326.8 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.969e-05/0.1397, allocations: 19.98 kB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.1397, allocations: 27.92 kB / 475.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.747e-05/0.1398, allocations: 27.98 kB / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1398, allocations: 0 / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001698/0.14, allocations: 85.58 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.14, allocations: 4 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.14, allocations: 4 kB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.14, allocations: 0 / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.1401, allocations: 19.98 kB / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1401, allocations: 0 / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.1402, allocations: 4 kB / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.1402, allocations: 256 / 475.7 MB, free: 9.332 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.0001063/0.1403, allocations: 126.3 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1403, allocations: 11.84 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.1406, allocations: 102 kB / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1406, allocations: 0 / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1406, allocations: 4 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1406, allocations: 0 / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.141, allocations: 354.5 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.141, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.1411, allocations: 19.92 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1411, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1411, allocations: 4 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1411, allocations: 0 / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1411, allocations: 0 / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1414, allocations: 191.4 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.1415, allocations: 85.02 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1415, allocations: 0 / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.1416, allocations: 8 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1416, allocations: 11.92 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1416, allocations: 4.281 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.1417, allocations: 121.3 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.684e-06/0.1417, allocations: 0 / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.142, allocations: 11.94 kB / 476.7 MB, free: 8.195 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.001609/0.1436, allocations: 1.016 MB / 477.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.1438, allocations: 59.91 kB / 477.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1438, allocations: 0 / 477.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.832e-05/0.1439, allocations: 27.98 kB / 477.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1443, allocations: 8 kB / 477.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009937/0.1453, allocations: 0.5902 MB / 478.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1456, allocations: 0.7019 MB / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.587e-05/0.1456, allocations: 7.984 kB / 479.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.1457, allocations: 23.42 kB / 479.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1457, allocations: 0 / 479.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.1591, allocations: 2.079 MB / 481.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.1594, allocations: 234.9 kB / 481.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.001, allocations: 0 / 481.5 MB, free: 3.609 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat does not exist to compare? outputFormat=mat