Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.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.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43",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.002579/0.002584, allocations: 186.6 kB / 16.4 MB, free: 5.621 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.216/2.216, 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.001176/0.001176, allocations: 98.78 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.2953/0.2953, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004926, allocations: 16 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1338, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002736/0.1366, allocations: 1.379 MB / 491.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1385, allocations: 0.7306 MB / 492.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1386, allocations: 7.938 kB / 492.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.1389, allocations: 23.84 kB / 492.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.1393, allocations: 43.88 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.1397, allocations: 83.77 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1399, allocations: 63.81 kB / 492.7 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.14, allocations: 12.22 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1401, allocations: 31.84 kB / 492.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.841e-05/0.1402, allocations: 31.84 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1403, allocations: 4 kB / 492.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1404, allocations: 27.92 kB / 492.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.1405, allocations: 19.92 kB / 492.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.1405, allocations: 37.64 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1408, allocations: 92.09 kB / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1408, allocations: 0 / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1408, allocations: 0 / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1408, allocations: 0 / 492.9 MB, free: 6.625 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006483/0.1415, allocations: 398.9 kB / 493.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1415, allocations: 8.031 kB / 493.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.1416, allocations: 34.56 kB / 493.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.1416, allocations: 15.77 kB / 493.4 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.1419, allocations: 207.5 kB / 493.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.142, allocations: 15.94 kB / 493.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.142, allocations: 0 / 493.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1422, allocations: 53.67 kB / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1422, allocations: 0 / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1423, allocations: 4 kB / 493.6 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1423, allocations: 0 / 493.6 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1424, allocations: 19.94 kB / 493.6 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.1429, allocations: 281 kB / 493.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.1432, allocations: 66.61 kB / 494 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.1432, allocations: 0 / 494 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.1435, allocations: 63.52 kB / 494.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.1435, allocations: 0 / 494.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007761/0.1443, allocations: 181.1 kB / 494.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.1443, allocations: 51.41 kB / 494.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.1446, allocations: 199.3 kB / 494.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.1447, allocations: 25.7 kB / 494.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1448, allocations: 166.5 kB / 494.7 MB, free: 4.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.1448, allocations: 27.69 kB / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.1448, allocations: 0 / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.145, allocations: 314.8 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.304e-05/0.1451, allocations: 23.92 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1452, allocations: 45.64 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1453, allocations: 20 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1454, allocations: 3.938 kB / 495.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002825/0.1457, allocations: 90 kB / 495.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.1457, allocations: 11.98 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1457, allocations: 3.953 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1457, allocations: 0 / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.1459, allocations: 20.03 kB / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1459, allocations: 4 kB / 495.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.146, allocations: 0 / 495.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.146, allocations: 11.97 kB / 495.2 MB, free: 4.078 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001469/0.1462, allocations: 125.8 kB / 495.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1462, allocations: 11.91 kB / 495.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.1463, allocations: 17.39 kB / 495.4 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1463, allocations: 7.891 kB / 495.4 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1464, allocations: 8 kB / 495.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1464, allocations: 0 / 495.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.147, allocations: 391.2 kB / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1471, allocations: 3.938 kB / 495.8 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.1472, allocations: 15.94 kB / 495.8 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.1472, allocations: 4 kB / 495.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1472, allocations: 0 / 495.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1472, allocations: 0 / 495.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.1472, allocations: 4.031 kB / 495.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.1476, allocations: 210 kB / 496 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.1477, allocations: 96.91 kB / 496.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.1477, allocations: 4 kB / 496.1 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1478, allocations: 0 / 496.1 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.1479, allocations: 19.92 kB / 496.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.1479, allocations: 4 kB / 496.1 MB, free: 3.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001926/0.1481, allocations: 148.9 kB / 496.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1482, allocations: 0 / 496.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003709/0.1485, allocations: 24 kB / 496.3 MB, free: 2.891 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001992/0.1505, allocations: 1.183 MB / 497.5 MB, free: 1.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.1509, allocations: 55.92 kB / 497.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1509, allocations: 0 / 497.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.151, allocations: 35.92 kB / 497.6 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.1515, allocations: 23.59 kB / 497.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.1533, allocations: 0.8918 MB / 498.5 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1537, allocations: 0.716 MB / 499.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.1538, allocations: 35.42 kB / 499.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1538, allocations: 0 / 499.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.027/3.18, allocations: 2.47 MB / 0.4899 GB, free: 13.43 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat