Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001657/0.001661, allocations: 182.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 99.33 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5545/0.5545, allocations: 43.54 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007891/0.0007894, allocations: 16 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1378, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002459/0.1403, allocations: 1.255 MB / 491.6 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.1411, allocations: 283.8 kB / 491.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.1412, allocations: 0 / 491.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.1415, allocations: 71.78 kB / 491.9 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1417, allocations: 51.86 kB / 492 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.1421, allocations: 75.78 kB / 492 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1423, allocations: 39.95 kB / 492.1 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1424, allocations: 7.984 kB / 492.1 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.888e-05/0.1425, allocations: 31.89 kB / 492.1 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1426, allocations: 43.83 kB / 492.2 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1426, allocations: 0 / 492.2 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-05/0.1427, allocations: 12 kB / 492.2 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.1428, allocations: 23.92 kB / 492.2 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.1428, allocations: 37.64 kB / 492.2 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.143, allocations: 64.12 kB / 492.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.143, allocations: 0 / 492.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.143, allocations: 0 / 492.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.143, allocations: 0 / 492.3 MB, free: 8.898 MB / 378.7 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.000556/0.1436, allocations: 386.9 kB / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1437, allocations: 8.031 kB / 492.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/0.1437, allocations: 38.55 kB / 492.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.1438, allocations: 15.86 kB / 492.7 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.144, allocations: 186.9 kB / 492.9 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.144, allocations: 4 kB / 492.9 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1441, allocations: 4 kB / 492.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1443, allocations: 53.61 kB / 493 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1443, allocations: 0 / 493 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1443, allocations: 0 / 493 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1443, allocations: 3.953 kB / 493 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1445, allocations: 31.98 kB / 493 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.1449, allocations: 277 kB / 493.3 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1452, allocations: 42.5 kB / 493.3 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1453, allocations: 4 kB / 493.3 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1453, allocations: 34.56 kB / 493.4 MB, free: 7.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.998e-06/0.1453, allocations: 3.984 kB / 493.4 MB, free: 7.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000855/0.1462, allocations: 169.2 kB / 493.5 MB, free: 7.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.1462, allocations: 59.39 kB / 493.6 MB, free: 7.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.1465, allocations: 198.2 kB / 493.8 MB, free: 7.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1466, allocations: 29.64 kB / 493.8 MB, free: 7.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.1467, allocations: 166.5 kB / 494 MB, free: 7.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1467, allocations: 15.72 kB / 494 MB, free: 6.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.1467, allocations: 0 / 494 MB, free: 6.996 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1469, allocations: 322.8 kB / 494.3 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.147, allocations: 19.98 kB / 494.3 MB, free: 6.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1471, allocations: 19.98 kB / 494.3 MB, free: 6.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1473, allocations: 20 kB / 494.4 MB, free: 6.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1473, allocations: 4 kB / 494.4 MB, free: 6.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003387/0.1476, allocations: 89.59 kB / 494.5 MB, free: 6.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1477, allocations: 7.953 kB / 494.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1477, allocations: 0 / 494.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1477, allocations: 0 / 494.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1478, allocations: 16 kB / 494.5 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1479, allocations: 3.984 kB / 494.5 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.1479, allocations: 4 kB / 494.5 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.148, allocations: 4 kB / 494.5 MB, free: 6.48 MB / 378.7 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.0001351/0.1481, allocations: 125.8 kB / 494.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.1482, allocations: 7.906 kB / 494.6 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/0.1486, allocations: 109.9 kB / 494.7 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.1486, allocations: 4 kB / 494.7 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1486, allocations: 0 / 494.7 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1486, allocations: 0 / 494.7 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.1493, allocations: 366.8 kB / 495.1 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1493, allocations: 4.062 kB / 495.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1494, allocations: 15.89 kB / 495.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1494, allocations: 4 kB / 495.1 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1494, allocations: 3.984 kB / 495.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1494, allocations: 0 / 495.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1495, allocations: 0 / 495.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.1498, allocations: 187.3 kB / 495.3 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.1499, allocations: 89.02 kB / 495.4 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.15, allocations: 7.938 kB / 495.4 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1501, allocations: 4 kB / 495.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.1501, allocations: 11.98 kB / 495.4 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1502, allocations: 0 / 495.4 MB, free: 5.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000217/0.1504, allocations: 164 kB / 495.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1504, allocations: 3.938 kB / 495.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003407/0.1508, allocations: 20 kB / 495.6 MB, free: 5.27 MB / 378.7 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.001792/0.1526, allocations: 1.015 MB / 496.6 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.1529, allocations: 47.97 kB / 496.7 MB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1529, allocations: 4 kB / 496.7 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.1531, allocations: 31.92 kB / 496.7 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1534, allocations: 19.94 kB / 496.7 MB, free: 4.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.1552, allocations: 0.7038 MB / 497.4 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.1556, allocations: 0.7043 MB / 498.1 MB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.1557, allocations: 31.42 kB / 498.1 MB, free: 2.656 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1557, allocations: 3.938 kB / 498.1 MB, free: 2.652 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.737/2.892, allocations: 1.986 MB / 0.4884 GB, free: 0.6641 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat does not exist to compare? outputFormat=mat