Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007395/0.0007397, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009008/0.0009009, allocations: 172.5 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 222.8 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3706/0.3706, allocations: 43.54 MB / 314.6 MB, free: 8.695 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004904, allocations: 16 kB / 384 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 58.86 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002091/0.1247, allocations: 1.395 MB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1266, allocations: 1.305 MB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.1267, allocations: 0 / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.127, allocations: 35.89 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.1272, allocations: 43.77 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1274, allocations: 75.86 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1275, allocations: 79.75 kB / 445.8 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.758e-05/0.1276, allocations: 16.2 kB / 445.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.75e-05/0.1277, allocations: 35.73 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1278, allocations: 39.83 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1279, allocations: 3.938 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.128, allocations: 47.98 kB / 446 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.128, allocations: 19.91 kB / 446 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.1281, allocations: 41.64 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1282, allocations: 96.08 kB / 446.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1283, allocations: 0 / 446.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1283, allocations: 0 / 446.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1283, allocations: 0 / 446.1 MB, free: 9.672 MB / 382.1 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.0004993/0.1288, allocations: 398.9 kB / 446.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1288, allocations: 12.03 kB / 446.5 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.1289, allocations: 30.56 kB / 446.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1289, allocations: 7.906 kB / 446.6 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.1291, allocations: 202.9 kB / 446.8 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1292, allocations: 4 kB / 446.8 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1292, allocations: 0 / 446.8 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1294, allocations: 71.34 kB / 446.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1294, allocations: 0 / 446.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1294, allocations: 4 kB / 446.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.1294, allocations: 0 / 446.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.741e-05/0.1295, allocations: 23.92 kB / 446.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.1298, allocations: 281 kB / 447.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.13, allocations: 54.62 kB / 447.2 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.13, allocations: 24.84 kB / 447.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1301, allocations: 0 / 447.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.1302, allocations: 71.33 kB / 447.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1302, allocations: 0 / 447.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004842/0.1307, allocations: 185.1 kB / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.1308, allocations: 77.11 kB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1309, allocations: 145.8 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.131, allocations: 25.7 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.131, allocations: 100.1 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1311, allocations: 27.66 kB / 447.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.1311, allocations: 0 / 447.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1312, allocations: 330.8 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.1313, allocations: 23.98 kB / 448.2 MB, free: 7.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.1313, allocations: 42.5 kB / 448.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.346e-05/0.1314, allocations: 20 kB / 448.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1314, allocations: 4.031 kB / 448.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.1316, allocations: 101.5 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1316, allocations: 8 kB / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1316, allocations: 4.312 kB / 448.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1316, allocations: 0 / 448.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.1317, allocations: 19.98 kB / 448.4 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.1317, allocations: 11.94 kB / 448.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.1318, allocations: 0 / 448.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.1318, allocations: 4 kB / 448.4 MB, free: 7.152 MB / 382.1 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 9.651e-05/0.1319, allocations: 133.8 kB / 448.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.1319, allocations: 11.89 kB / 448.5 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.132, allocations: 16.7 kB / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.132, allocations: 0 / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.132, allocations: 0 / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.132, allocations: 0 / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.1325, allocations: 383.3 kB / 448.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1325, allocations: 4.031 kB / 448.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.1325, allocations: 11.98 kB / 448.9 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1325, allocations: 0 / 448.9 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1325, allocations: 8 kB / 448.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1326, allocations: 0 / 448.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1326, allocations: 0 / 448.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.1328, allocations: 208.1 kB / 449.1 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.1329, allocations: 97 kB / 449.2 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1329, allocations: 0 / 449.2 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.133, allocations: 4 kB / 449.2 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.133, allocations: 11.98 kB / 449.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.133, allocations: 4 kB / 449.3 MB, free: 6.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1331, allocations: 122.5 kB / 449.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1332, allocations: 0 / 449.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1334, allocations: 28 kB / 449.4 MB, free: 6.031 MB / 382.1 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.001527/0.135, allocations: 1.138 MB / 450.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1352, allocations: 63.91 kB / 450.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1352, allocations: 0 / 450.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.773e-05/0.1352, allocations: 24 kB / 450.6 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1356, allocations: 32.03 kB / 450.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1366, allocations: 0.6313 MB / 451.3 MB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1369, allocations: 0.6965 MB / 452 MB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.137, allocations: 25.31 kB / 452 MB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.1371, allocations: 35.36 kB / 452 MB, free: 3.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1371, allocations: 4 kB / 452 MB, free: 3.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.152, allocations: 3.054 MB / 455.1 MB, free: 268 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.1522, allocations: 217.9 kB / 455.3 MB, free: 24 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.889, allocations: 0 / 455.3 MB, free: 24 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat