Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",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.001627/0.001632, allocations: 186.7 kB / 16.4 MB, free: 5.625 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.082/2.082, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001173/0.001173, allocations: 90.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3432/0.3432, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004718, allocations: 8 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1294, allocations: 58.85 MB / 490.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002545/0.132, allocations: 1.276 MB / 491.6 MB, free: 7.965 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.1328, allocations: 279.9 kB / 491.9 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.1329, allocations: 7.938 kB / 491.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.1332, allocations: 31.89 kB / 491.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1334, allocations: 23.91 kB / 491.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.1337, allocations: 71.8 kB / 492 MB, free: 7.555 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1339, allocations: 39.95 kB / 492 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.134, allocations: 12.16 kB / 492 MB, free: 7.504 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.252e-05/0.1341, allocations: 31.86 kB / 492.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.1342, allocations: 19.92 kB / 492.1 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1342, allocations: 0 / 492.1 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.206e-05/0.1343, allocations: 15.98 kB / 492.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.1344, allocations: 19.92 kB / 492.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.1345, allocations: 33.64 kB / 492.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1346, allocations: 56.12 kB / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1346, allocations: 0 / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1346, allocations: 4 kB / 492.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1347, allocations: 0 / 492.2 MB, free: 7.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005525/0.1352, allocations: 383.1 kB / 492.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1353, allocations: 8.031 kB / 492.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.1353, allocations: 34.56 kB / 492.6 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.1354, allocations: 15.84 kB / 492.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.1356, allocations: 193.5 kB / 492.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1357, allocations: 0 / 492.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1357, allocations: 4 kB / 492.8 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.1359, allocations: 61.67 kB / 492.9 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1359, allocations: 4 kB / 492.9 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.136, allocations: 0 / 492.9 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.136, allocations: 0 / 492.9 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.1362, allocations: 39.97 kB / 493 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.1367, allocations: 296.6 kB / 493.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1369, allocations: 50.56 kB / 493.3 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.1369, allocations: 4 kB / 493.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.137, allocations: 42.61 kB / 493.3 MB, free: 6.039 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.185e-06/0.137, allocations: 0 / 493.3 MB, free: 6.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.001001/0.138, allocations: 197.3 kB / 493.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1381, allocations: 51.41 kB / 493.6 MB, free: 5.777 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.1383, allocations: 150 kB / 493.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1383, allocations: 25.7 kB / 493.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.1384, allocations: 166.5 kB / 493.9 MB, free: 5.426 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.1385, allocations: 27.61 kB / 493.9 MB, free: 5.398 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-06/0.1385, allocations: 3.938 kB / 493.9 MB, free: 5.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1387, allocations: 318.8 kB / 494.3 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1388, allocations: 27.92 kB / 494.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1389, allocations: 27.98 kB / 494.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1391, allocations: 31.98 kB / 494.3 MB, free: 4.988 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1391, allocations: 0 / 494.3 MB, free: 4.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003639/0.1395, allocations: 97.64 kB / 494.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.1395, allocations: 12 kB / 494.4 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1396, allocations: 3.953 kB / 494.5 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1396, allocations: 0 / 494.5 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.1398, allocations: 23.98 kB / 494.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1398, allocations: 0 / 494.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.059e-05/0.1399, allocations: 4 kB / 494.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1399, allocations: 4 kB / 494.5 MB, free: 4.84 MB / 330.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 (8): * Single equations (assignments): 8 * 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.0001301/0.1401, allocations: 129.8 kB / 494.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.1401, allocations: 7.906 kB / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.1406, allocations: 126.2 kB / 494.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.1406, allocations: 3.953 kB / 494.7 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1406, allocations: 0 / 494.7 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1406, allocations: 4 kB / 494.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/0.1414, allocations: 394.8 kB / 495.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1415, allocations: 4 kB / 495.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.1416, allocations: 19.94 kB / 495.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.1416, allocations: 8.375 kB / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1416, allocations: 0 / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.1417, allocations: 4 kB / 495.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.1417, allocations: 0 / 495.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.1421, allocations: 207.3 kB / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.1422, allocations: 89.02 kB / 495.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.1422, allocations: 3.953 kB / 495.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1424, allocations: 11.98 kB / 495.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.1424, allocations: 4 kB / 495.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1425, allocations: 3.984 kB / 495.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.1426, allocations: 118.2 kB / 495.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1426, allocations: 0 / 495.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005689/0.1432, allocations: 19.98 kB / 495.6 MB, free: 3.598 MB / 330.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 (8): * Single equations (assignments): 8 * 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.0018/0.145, allocations: 1.028 MB / 496.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.1454, allocations: 71.95 kB / 496.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1454, allocations: 0 / 496.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.1456, allocations: 43.92 kB / 496.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1459, allocations: 15.94 kB / 496.8 MB, free: 2.473 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.1475, allocations: 0.6528 MB / 497.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1479, allocations: 0.7005 MB / 498.1 MB, free: 1.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.148, allocations: 27.42 kB / 498.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.148, allocations: 0 / 498.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.746/2.894, allocations: 1.966 MB / 0.4884 GB, free: 15.05 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat does not exist to compare? outputFormat=mat