Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",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.001652/0.001656, allocations: 188.1 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.37/2.37, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001175/0.001175, allocations: 98.84 kB / 270.9 MB, free: 13.39 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.3244/0.3244, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004705, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1262, allocations: 58.86 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002578/0.1289, allocations: 1.26 MB / 491.6 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.1298, allocations: 283.8 kB / 491.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.1299, allocations: 0 / 491.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.1303, allocations: 99.72 kB / 492 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.1305, allocations: 59.91 kB / 492 MB, free: 7.539 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.1309, allocations: 71.78 kB / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1311, allocations: 47.89 kB / 492.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1312, allocations: 15.97 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.1313, allocations: 31.91 kB / 492.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1314, allocations: 39.89 kB / 492.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1314, allocations: 4 kB / 492.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.1315, allocations: 23.92 kB / 492.2 MB, free: 7.309 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.1316, allocations: 15.98 kB / 492.3 MB, free: 7.293 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.1317, allocations: 37.64 kB / 492.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1319, allocations: 76.11 kB / 492.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.1319, allocations: 4 kB / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1319, allocations: 0 / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1319, allocations: 0 / 492.4 MB, free: 7.172 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006096/0.1325, allocations: 402.8 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.1326, allocations: 12.03 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.1326, allocations: 30.56 kB / 492.8 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.1327, allocations: 15.8 kB / 492.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.133, allocations: 194.9 kB / 493 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.133, allocations: 0 / 493 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.133, allocations: 8 kB / 493 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1332, allocations: 53.69 kB / 493.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1333, allocations: 0 / 493.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1333, allocations: 0 / 493.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1333, allocations: 3.984 kB / 493.1 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.1334, allocations: 27.92 kB / 493.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.1339, allocations: 296.8 kB / 493.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.1342, allocations: 42.56 kB / 493.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.1343, allocations: 0 / 493.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1343, allocations: 34.5 kB / 493.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.758e-06/0.1343, allocations: 4 kB / 493.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008513/0.1352, allocations: 165.2 kB / 493.6 MB, free: 5.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.1353, allocations: 55.41 kB / 493.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.1356, allocations: 246.6 kB / 493.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1357, allocations: 25.7 kB / 494 MB, free: 5.379 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1358, allocations: 170.5 kB / 494.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.1358, allocations: 19.75 kB / 494.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.1358, allocations: 0 / 494.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.136, allocations: 310.8 kB / 494.4 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1361, allocations: 23.98 kB / 494.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1363, allocations: 23.98 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1364, allocations: 23.98 kB / 494.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1364, allocations: 0 / 494.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003261/0.1368, allocations: 81.67 kB / 494.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1368, allocations: 4 kB / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1368, allocations: 3.984 kB / 494.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.1368, allocations: 3.953 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.137, allocations: 19.94 kB / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.137, allocations: 0 / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.1371, allocations: 7.984 kB / 494.6 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1371, allocations: 8 kB / 494.6 MB, free: 4.676 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 (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.0001489/0.1373, allocations: 125.8 kB / 494.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.1373, allocations: 11.81 kB / 494.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.1377, allocations: 102.7 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1378, allocations: 4 kB / 494.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.1378, allocations: 3.953 kB / 494.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.1378, allocations: 0 / 494.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.1385, allocations: 362.8 kB / 495.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1385, allocations: 4 kB / 495.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1386, allocations: 19.92 kB / 495.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.1387, allocations: 4 kB / 495.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1387, allocations: 7.953 kB / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1387, allocations: 0 / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1387, allocations: 0 / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.1391, allocations: 187.4 kB / 495.5 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.1392, allocations: 92.91 kB / 495.5 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.1392, allocations: 0 / 495.5 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1393, allocations: 7.953 kB / 495.6 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1394, allocations: 11.92 kB / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.1394, allocations: 0 / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.1397, allocations: 188.3 kB / 495.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1397, allocations: 4 kB / 495.8 MB, free: 3.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.14, allocations: 20 kB / 495.8 MB, free: 3.441 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 (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.001836/0.1419, allocations: 1.012 MB / 496.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.1423, allocations: 51.97 kB / 496.8 MB, free: 2.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1423, allocations: 0 / 496.8 MB, free: 2.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.1425, allocations: 31.98 kB / 496.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1428, allocations: 16.08 kB / 496.9 MB, free: 2.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1448, allocations: 0.7832 MB / 497.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1452, allocations: 0.716 MB / 498.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1453, allocations: 31.42 kB / 498.4 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1453, allocations: 0 / 498.4 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.903/3.048, allocations: 2.165 MB / 0.4888 GB, free: 14.58 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat does not exist to compare? outputFormat=mat