Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",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.001601/0.001606, allocations: 182.4 kB / 16.4 MB, free: 5.75 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.096/2.096, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001213/0.001213, allocations: 90.92 kB / 270.9 MB, free: 8.359 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.5574/0.5574, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004814, allocations: 16 kB / 431.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1316, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002646/0.1343, allocations: 1.39 MB / 491.7 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1361, allocations: 0.7305 MB / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.808e-05/0.1363, allocations: 0 / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.1367, allocations: 79.75 kB / 492.5 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.137, allocations: 59.84 kB / 492.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.1374, allocations: 75.8 kB / 492.6 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1376, allocations: 71.83 kB / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1377, allocations: 12.22 kB / 492.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1379, allocations: 47.83 kB / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.138, allocations: 43.83 kB / 492.8 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1381, allocations: 4 kB / 492.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.1382, allocations: 27.92 kB / 492.9 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.1383, allocations: 23.91 kB / 492.9 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.1383, allocations: 37.64 kB / 492.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1386, allocations: 84.09 kB / 493 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1386, allocations: 0 / 493 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1386, allocations: 4 kB / 493 MB, free: 8.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1386, 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.0006687/0.1393, allocations: 410.7 kB / 493.4 MB, free: 7.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.1393, allocations: 12.03 kB / 493.4 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.1394, allocations: 34.56 kB / 493.4 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.1395, allocations: 15.8 kB / 493.5 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.1398, allocations: 194.9 kB / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.1398, allocations: 4 kB / 493.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.1399, allocations: 7.984 kB / 493.7 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1401, allocations: 53.67 kB / 493.7 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1401, allocations: 0 / 493.7 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1401, allocations: 7.953 kB / 493.7 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1401, allocations: 4 kB / 493.7 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1403, allocations: 19.92 kB / 493.7 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.1407, allocations: 281 kB / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.141, allocations: 58.69 kB / 494.1 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.1411, allocations: 7.922 kB / 494.1 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.1413, allocations: 67.47 kB / 494.2 MB, free: 6.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.1414, allocations: 0 / 494.2 MB, free: 6.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007696/0.1421, allocations: 181 kB / 494.3 MB, free: 6.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.1422, allocations: 59.39 kB / 494.4 MB, free: 6.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.1425, allocations: 214.4 kB / 494.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1426, allocations: 29.7 kB / 494.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1427, allocations: 162.6 kB / 494.8 MB, free: 6.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.1427, allocations: 23.64 kB / 494.8 MB, free: 6.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.1428, allocations: 8 kB / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1429, allocations: 310.8 kB / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.143, allocations: 23.98 kB / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1432, allocations: 33.7 kB / 495.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1433, allocations: 24 kB / 495.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1433, allocations: 3.938 kB / 495.2 MB, free: 5.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002935/0.1436, allocations: 97.61 kB / 495.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.1436, allocations: 11.94 kB / 495.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.1437, allocations: 0 / 495.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1437, allocations: 0 / 495.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1439, allocations: 20.31 kB / 495.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1439, allocations: 0 / 495.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-05/0.144, allocations: 16 kB / 495.3 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.144, 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.000152/0.1442, allocations: 133.6 kB / 495.5 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.1442, allocations: 19.75 kB / 495.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.598e-05/0.1443, allocations: 17.41 kB / 495.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1443, allocations: 0 / 495.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1443, allocations: 0 / 495.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1443, allocations: 0 / 495.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006646/0.145, allocations: 399.3 kB / 495.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.145, allocations: 0 / 495.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.1451, allocations: 8 kB / 495.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.1451, allocations: 4 kB / 495.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.1451, allocations: 0 / 495.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.1452, allocations: 0 / 495.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1452, allocations: 0 / 495.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.1455, allocations: 225.8 kB / 496.1 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.1456, allocations: 93 kB / 496.2 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.1457, allocations: 4 kB / 496.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1458, allocations: 192 / 496.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.1459, allocations: 11.98 kB / 496.2 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.1459, allocations: 7.938 kB / 496.3 MB, free: 4.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002092/0.1461, allocations: 156.2 kB / 496.4 MB, free: 4.438 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1461, allocations: 4 kB / 496.4 MB, free: 4.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003804/0.1465, allocations: 27.98 kB / 496.4 MB, free: 4.406 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.001977/0.1485, allocations: 1.175 MB / 497.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.1488, allocations: 59.91 kB / 497.7 MB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1489, allocations: 0 / 497.7 MB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.149, allocations: 32.09 kB / 497.7 MB, free: 3.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1494, allocations: 23.98 kB / 497.7 MB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.1513, allocations: 0.9427 MB / 498.7 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1517, allocations: 0.7082 MB / 499.4 MB, free: 1.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.1518, allocations: 39.42 kB / 499.4 MB, free: 1.359 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1518, allocations: 4 kB / 499.4 MB, free: 1.355 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.215/3.367, allocations: 2.498 MB / 0.4902 GB, free: 42.27 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat