Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",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.002651/0.002655, allocations: 182.2 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.089/2.089, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001189/0.001188, allocations: 111.1 kB / 270.9 MB, free: 8.352 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.5817/0.5817, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006354/0.0006358, allocations: 12 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1295, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00261/0.1322, allocations: 1.386 MB / 491.7 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1339, allocations: 0.7383 MB / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.495e-05/0.134, allocations: 0 / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.1344, allocations: 75.77 kB / 492.5 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.1347, allocations: 63.84 kB / 492.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.1351, allocations: 75.78 kB / 492.6 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.1353, allocations: 71.83 kB / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.1354, allocations: 16.22 kB / 492.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1355, allocations: 43.83 kB / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1356, allocations: 43.83 kB / 492.8 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1357, allocations: 0 / 492.8 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1358, allocations: 35.86 kB / 492.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.1359, allocations: 15.98 kB / 492.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.1359, allocations: 37.64 kB / 492.9 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1361, allocations: 92.08 kB / 493 MB, free: 8.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1362, allocations: 0 / 493 MB, free: 8.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1362, allocations: 0 / 493 MB, free: 8.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1362, allocations: 4 kB / 493 MB, free: 8.184 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.000645/0.1368, allocations: 410.7 kB / 493.4 MB, free: 7.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1369, allocations: 8.031 kB / 493.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.984e-05/0.137, allocations: 34.55 kB / 493.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.137, allocations: 19.8 kB / 493.5 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.1374, allocations: 202.9 kB / 493.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1374, allocations: 3.984 kB / 493.7 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.1375, allocations: 4 kB / 493.7 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.1377, allocations: 57.67 kB / 493.7 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1377, allocations: 3.938 kB / 493.7 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1378, allocations: 7.953 kB / 493.7 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1378, allocations: 0 / 493.7 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1379, allocations: 19.98 kB / 493.8 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.1384, allocations: 281 kB / 494 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.1386, allocations: 62.61 kB / 494.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1387, allocations: 0 / 494.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.1389, allocations: 71.47 kB / 494.2 MB, free: 6.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.1389, allocations: 3.938 kB / 494.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007691/0.1397, allocations: 177 kB / 494.3 MB, free: 6.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1398, allocations: 55.41 kB / 494.4 MB, free: 6.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.1401, allocations: 214.4 kB / 494.6 MB, free: 6.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1401, allocations: 29.7 kB / 494.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.1402, allocations: 162.6 kB / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.1403, allocations: 27.64 kB / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.1403, allocations: 0 / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1404, allocations: 318.8 kB / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.1405, allocations: 15.98 kB / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1406, allocations: 37.7 kB / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1408, allocations: 35.92 kB / 495.2 MB, free: 5.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.1408, allocations: 0 / 495.2 MB, free: 5.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002697/0.1411, allocations: 93.56 kB / 495.3 MB, free: 5.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1411, allocations: 4 kB / 495.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1411, allocations: 4 kB / 495.3 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1411, allocations: 0 / 495.3 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1413, allocations: 15.94 kB / 495.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1413, allocations: 0 / 495.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.408e-05/0.1414, allocations: 16.02 kB / 495.3 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1414, allocations: 4 kB / 495.4 MB, free: 5.602 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.0001378/0.1416, allocations: 125.6 kB / 495.5 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.1416, allocations: 23.75 kB / 495.5 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.1417, allocations: 17.41 kB / 495.5 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1417, allocations: 4 kB / 495.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1417, allocations: 0 / 495.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1417, allocations: 0 / 495.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.1424, allocations: 407.4 kB / 495.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1424, allocations: 0 / 495.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.1425, allocations: 8 kB / 495.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1425, allocations: 0 / 495.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1425, allocations: 4 kB / 495.9 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.1425, allocations: 384 / 495.9 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1426, allocations: 3.938 kB / 495.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.1429, allocations: 217.9 kB / 496.1 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.143, allocations: 93 kB / 496.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.1431, allocations: 4.188 kB / 496.2 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1432, allocations: 4 kB / 496.2 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.1433, allocations: 11.92 kB / 496.3 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.1433, allocations: 4 kB / 496.3 MB, free: 4.586 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002018/0.1435, allocations: 160.2 kB / 496.4 MB, free: 4.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1435, allocations: 0 / 496.4 MB, free: 4.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.1439, allocations: 27.98 kB / 496.4 MB, free: 4.402 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.00198/0.1459, allocations: 1.179 MB / 497.6 MB, free: 3.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1462, allocations: 55.91 kB / 497.7 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1462, allocations: 4 kB / 497.7 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1463, allocations: 32.05 kB / 497.7 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1467, allocations: 19.98 kB / 497.7 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.1486, allocations: 0.9352 MB / 498.7 MB, free: 2.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1489, allocations: 0.7121 MB / 499.4 MB, free: 1.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.546e-05/0.1491, allocations: 39.42 kB / 499.4 MB, free: 1.359 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1491, allocations: 0 / 499.4 MB, free: 1.359 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.203/3.352, allocations: 2.505 MB / 0.4902 GB, free: 42.26 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat