Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_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.001575/0.001579, allocations: 183.5 kB / 16.4 MB, free: 5.754 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.013/2.013, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001302/0.001301, allocations: 100.4 kB / 270.9 MB, free: 8.383 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.5255/0.5255, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004823, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.137, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002692/0.1398, allocations: 1.39 MB / 491.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1416, allocations: 0.7266 MB / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.1418, allocations: 7.938 kB / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.1421, allocations: 35.83 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1424, allocations: 39.88 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.1428, allocations: 79.78 kB / 492.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.143, allocations: 59.86 kB / 492.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1431, allocations: 20.19 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1432, allocations: 31.86 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.797e-05/0.1433, allocations: 27.84 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1434, allocations: 4 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1435, allocations: 31.92 kB / 492.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.1436, allocations: 19.92 kB / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.1436, allocations: 37.64 kB / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1438, allocations: 84.09 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.1439, allocations: 0 / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1439, allocations: 0 / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1439, allocations: 0 / 492.9 MB, free: 8.531 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006593/0.1446, allocations: 398.8 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1446, allocations: 16.03 kB / 493.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/0.1447, allocations: 38.55 kB / 493.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1447, allocations: 7.906 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.145, allocations: 202.8 kB / 493.5 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1451, allocations: 3.984 kB / 493.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.1451, allocations: 8 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1453, allocations: 53.61 kB / 493.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.1453, allocations: 4 kB / 493.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1454, allocations: 3.953 kB / 493.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1454, allocations: 4 kB / 493.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.1455, allocations: 19.98 kB / 493.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.146, allocations: 280.9 kB / 493.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.1463, allocations: 58.62 kB / 494 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1463, allocations: 0 / 494 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.1466, allocations: 75.45 kB / 494 MB, free: 7.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.1466, allocations: 0 / 494 MB, free: 7.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007814/0.1474, allocations: 173.2 kB / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1475, allocations: 51.41 kB / 494.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.1477, allocations: 182.2 kB / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1478, allocations: 25.7 kB / 494.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.1479, allocations: 162.6 kB / 494.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.1479, allocations: 35.62 kB / 494.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.1479, allocations: 4 kB / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1481, allocations: 314.8 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.573e-05/0.1482, allocations: 23.98 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1483, allocations: 37.64 kB / 495 MB, free: 6.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.814e-05/0.1484, allocations: 20 kB / 495.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1485, allocations: 0 / 495.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003033/0.1488, allocations: 109.5 kB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1488, allocations: 4 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1488, allocations: 0 / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1488, allocations: 4 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.149, allocations: 12 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.149, allocations: 0 / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.1491, allocations: 7.984 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1491, allocations: 0 / 495.2 MB, free: 6.004 MB / 378.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.0001531/0.1493, allocations: 137.5 kB / 495.3 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.1493, allocations: 15.77 kB / 495.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.1494, allocations: 16.7 kB / 495.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1494, allocations: 0 / 495.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1494, allocations: 4 kB / 495.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1495, allocations: 0 / 495.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.1501, allocations: 391.3 kB / 495.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1502, allocations: 0 / 495.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.1503, allocations: 19.95 kB / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1503, allocations: 0 / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1503, allocations: 4 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1503, allocations: 0 / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1503, allocations: 0 / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.1507, allocations: 214 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/0.1508, allocations: 96.91 kB / 496.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.1508, allocations: 8 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.151, allocations: 0 / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.151, allocations: 7.984 kB / 496.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.1511, allocations: 4 kB / 496.1 MB, free: 5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.1512, allocations: 144 kB / 496.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1513, allocations: 0 / 496.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.1516, allocations: 23.98 kB / 496.3 MB, free: 4.836 MB / 378.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.002037/0.1537, allocations: 1.191 MB / 497.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.154, allocations: 55.91 kB / 497.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1541, allocations: 0 / 497.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1542, allocations: 35.92 kB / 497.5 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.1546, allocations: 19.98 kB / 497.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.1564, allocations: 0.8723 MB / 498.4 MB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1568, allocations: 0.7121 MB / 499.1 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1569, allocations: 31.42 kB / 499.2 MB, free: 1.848 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.1569, allocations: 4 kB / 499.2 MB, free: 1.844 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.046/3.203, allocations: 2.398 MB / 0.4898 GB, free: 42.5 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat