Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.0008209/0.0008211, 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.0008544/0.0008545, allocations: 173.7 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.483/1.483, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.3326/0.3326, allocations: 43.55 MB / 314.6 MB, free: 8.742 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.0004777/0.0004778, allocations: 20 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 58.86 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00209/0.1232, allocations: 1.523 MB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1246, allocations: 0.8279 MB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/0.1247, allocations: 4 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.1251, allocations: 251.5 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.1254, allocations: 167.5 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1258, allocations: 131.7 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.126, allocations: 203.3 kB / 446 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1261, allocations: 33.52 kB / 446 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1263, allocations: 111.6 kB / 446.1 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1265, allocations: 139.6 kB / 446.3 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1265, allocations: 4 kB / 446.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-05/0.1266, allocations: 51.91 kB / 446.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.1267, allocations: 47.83 kB / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.1267, allocations: 61.58 kB / 446.4 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1269, allocations: 163.9 kB / 446.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.127, allocations: 4 kB / 446.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.127, allocations: 0 / 446.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.127, allocations: 0 / 446.6 MB, free: 9.211 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000687/0.1277, allocations: 0.5251 MB / 447.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1277, allocations: 8.031 kB / 447.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.1278, allocations: 34.55 kB / 447.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1278, allocations: 39.62 kB / 447.2 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.1282, allocations: 263 kB / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1282, allocations: 11.98 kB / 447.5 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1282, allocations: 4 kB / 447.5 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.1284, allocations: 95.3 kB / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1285, allocations: 0 / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1285, allocations: 7.953 kB / 447.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1285, allocations: 0 / 447.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1286, allocations: 47.91 kB / 447.6 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.1292, allocations: 449 kB / 448 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.1294, allocations: 117.3 kB / 448.2 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.983e-05/0.1295, allocations: 49.64 kB / 448.2 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1296, allocations: 0 / 448.2 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.1299, allocations: 113 kB / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.1299, allocations: 0 / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009233/0.1308, allocations: 376.2 kB / 448.7 MB, free: 6.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.1309, allocations: 84.98 kB / 448.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.1314, allocations: 477.7 kB / 449.2 MB, free: 6.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1314, allocations: 33.69 kB / 449.3 MB, free: 6.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1316, allocations: 156.4 kB / 449.4 MB, free: 6.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.1316, allocations: 55.34 kB / 449.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.1316, allocations: 8 kB / 449.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1318, allocations: 338.8 kB / 449.8 MB, free: 5.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1319, allocations: 43.92 kB / 449.9 MB, free: 5.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.132, allocations: 71.41 kB / 449.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1321, allocations: 48 kB / 450 MB, free: 5.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1322, allocations: 0 / 450 MB, free: 5.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000302/0.1325, allocations: 185.1 kB / 450.2 MB, free: 5.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1325, allocations: 4 kB / 450.2 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1325, allocations: 4 kB / 450.2 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1325, allocations: 192 / 450.2 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1327, allocations: 39.92 kB / 450.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1327, allocations: 0 / 450.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.628e-05/0.1328, allocations: 19.98 kB / 450.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.1328, allocations: 8 kB / 450.2 MB, free: 5.281 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001613/0.133, allocations: 177.7 kB / 450.4 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.133, allocations: 31.62 kB / 450.4 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.826e-05/0.1331, allocations: 39.12 kB / 450.5 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1331, allocations: 4 kB / 450.5 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1331, allocations: 0 / 450.5 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1331, allocations: 3.984 kB / 450.5 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/0.1338, allocations: 0.6358 MB / 451.1 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1338, allocations: 0 / 451.1 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.1339, allocations: 16 kB / 451.1 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1339, allocations: 0 / 451.1 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1339, allocations: 15.92 kB / 451.1 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1339, allocations: 4 kB / 451.2 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1339, allocations: 3.953 kB / 451.2 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.1343, allocations: 360.2 kB / 451.5 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.1343, allocations: 104.7 kB / 451.6 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.1344, allocations: 8 kB / 451.6 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1345, allocations: 8 kB / 451.6 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.1346, allocations: 23.88 kB / 451.7 MB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1346, allocations: 7.984 kB / 451.7 MB, free: 3.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003095/0.1349, allocations: 363.1 kB / 452 MB, free: 3.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1349, allocations: 0 / 452 MB, free: 3.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000321/0.1352, allocations: 36 kB / 452 MB, free: 3.348 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001631/0.1369, allocations: 1.271 MB / 453.3 MB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.1372, allocations: 111.9 kB / 453.4 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1372, allocations: 0 / 453.4 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.1373, allocations: 55.92 kB / 453.5 MB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.1378, allocations: 57.97 kB / 453.5 MB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.1399, allocations: 1.613 MB / 455.2 MB, free: 204 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1991/0.3391, allocations: 0.7764 MB / 455.9 MB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.3392, allocations: 32.25 kB / 456 MB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3394, allocations: 88.3 kB / 456 MB, free: 45.59 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3394, allocations: 2.125 kB / 456 MB, free: 45.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.3537, allocations: 5.371 MB / 461.4 MB, free: 45.22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/0.3538, allocations: 225.8 kB / 461.6 MB, free: 44.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.026, allocations: 0 / 461.6 MB, free: 44.98 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat