Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_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.001784/0.001784, allocations: 188.8 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.159/2.159, 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.00123/0.00123, allocations: 102.8 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.2931/0.2931, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006292/0.0006293, allocations: 16 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1229, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002603/0.1256, allocations: 1.376 MB / 491.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.1275, allocations: 0.7344 MB / 492.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1276, allocations: 0 / 492.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.128, allocations: 35.83 kB / 492.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.1282, allocations: 43.88 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.1286, allocations: 79.73 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1288, allocations: 59.86 kB / 492.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.129, allocations: 12.22 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1291, allocations: 35.84 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/0.1292, allocations: 23.86 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1292, allocations: 4 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1294, allocations: 35.91 kB / 492.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.1294, allocations: 11.92 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.1295, allocations: 41.64 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1297, allocations: 88.09 kB / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.1297, allocations: 0 / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1297, allocations: 0 / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1297, allocations: 0 / 492.9 MB, free: 6.637 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.0006333/0.1304, allocations: 394.9 kB / 493.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.789e-05/0.1305, allocations: 8.031 kB / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.1306, allocations: 38.55 kB / 493.3 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1306, allocations: 11.86 kB / 493.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.1309, allocations: 202.9 kB / 493.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.131, allocations: 7.922 kB / 493.5 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.131, allocations: 4 kB / 493.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1312, allocations: 53.67 kB / 493.6 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1312, allocations: 0 / 493.6 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1313, allocations: 0 / 493.6 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1313, allocations: 0 / 493.6 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1314, allocations: 23.94 kB / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.1318, allocations: 284.9 kB / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.1321, allocations: 62.61 kB / 494 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1321, allocations: 3.984 kB / 494 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.1324, allocations: 67.5 kB / 494 MB, free: 5.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.374e-06/0.1324, allocations: 0 / 494 MB, free: 5.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007714/0.1332, allocations: 173.2 kB / 494.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.1333, allocations: 55.41 kB / 494.3 MB, free: 5.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.1335, allocations: 190.1 kB / 494.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1336, allocations: 25.7 kB / 494.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.1337, allocations: 166.6 kB / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.1337, allocations: 23.64 kB / 494.7 MB, free: 4.668 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.1338, allocations: 4 kB / 494.7 MB, free: 4.664 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1339, allocations: 318.8 kB / 495 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.532e-05/0.134, allocations: 23.92 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1341, allocations: 37.64 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1342, allocations: 20 kB / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1342, allocations: 3.938 kB / 495.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003206/0.1346, allocations: 97.97 kB / 495.2 MB, free: 4.152 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1346, allocations: 10.66 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1346, allocations: 7.984 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1347, allocations: 0 / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.1348, allocations: 16 kB / 495.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1348, allocations: 4 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.1349, allocations: 3.984 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.135, allocations: 8 kB / 495.2 MB, free: 4.105 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.0001458/0.1351, allocations: 125.5 kB / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.1352, allocations: 15.81 kB / 495.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.835e-05/0.1352, allocations: 16.7 kB / 495.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1353, allocations: 11.89 kB / 495.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1353, allocations: 0 / 495.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1353, allocations: 0 / 495.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006699/0.136, allocations: 387.4 kB / 495.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.136, allocations: 3.938 kB / 495.8 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.1361, allocations: 15.94 kB / 495.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1361, allocations: 0 / 495.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1361, allocations: 4 kB / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1361, allocations: 4.031 kB / 495.8 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1361, allocations: 0 / 495.8 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.1365, allocations: 210 kB / 496 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.1366, allocations: 96.91 kB / 496.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.1366, allocations: 0 / 496.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1367, allocations: 8 kB / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.1368, allocations: 11.92 kB / 496.1 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.1368, allocations: 8 kB / 496.1 MB, free: 3.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.137, allocations: 135.2 kB / 496.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.137, allocations: 0 / 496.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003837/0.1374, allocations: 27.98 kB / 496.3 MB, free: 2.93 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.001989/0.1394, allocations: 1.169 MB / 497.4 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.1398, allocations: 67.89 kB / 497.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1398, allocations: 0 / 497.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1399, allocations: 27.92 kB / 497.5 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1403, allocations: 23.98 kB / 497.5 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.1421, allocations: 0.8719 MB / 498.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1425, allocations: 0.7082 MB / 499.1 MB, free: 4 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1426, allocations: 35.5 kB / 499.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1426, allocations: 0 / 499.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.776/2.919, allocations: 2.416 MB / 0.4898 GB, free: 13.55 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat