Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.0009772/0.000977, allocations: 95.73 kB / 15.69 MB, free: 480 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.001025/0.001026, allocations: 174.6 kB / 16.57 MB, free: 6.391 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.788/1.788, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.369/0.369, allocations: 43.55 MB / 314.5 MB, free: 9 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.0004848/0.0004849, allocations: 20 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002923/0.1179, allocations: 1.666 MB / 444.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1195, allocations: 0.8161 MB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.1196, allocations: 7.938 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.12, allocations: 35.81 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.1203, allocations: 59.8 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.1206, allocations: 103.7 kB / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000277/0.1209, allocations: 119.7 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1211, allocations: 29.66 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1212, allocations: 75.69 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1214, allocations: 63.69 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.1214, allocations: 4 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1215, allocations: 31.98 kB / 445.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.1216, allocations: 27.89 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.1217, allocations: 49.58 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.1219, allocations: 143.9 kB / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1219, allocations: 0 / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1219, allocations: 0 / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1219, allocations: 0 / 446.1 MB, free: 9.969 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009169/0.1229, allocations: 0.5409 MB / 446.6 MB, free: 9.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1229, allocations: 12.03 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.531e-05/0.123, allocations: 38.55 kB / 446.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.123, allocations: 19.81 kB / 446.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1234, allocations: 239.5 kB / 446.9 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1234, allocations: 4 kB / 446.9 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.1234, allocations: 11.98 kB / 446.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.1239, allocations: 163.5 kB / 447.1 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1239, allocations: 11.86 kB / 447.1 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1239, allocations: 7.953 kB / 447.1 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1239, allocations: 0 / 447.1 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/0.1244, allocations: 139.9 kB / 447.2 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.125, allocations: 0.5437 MB / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.1257, allocations: 194.5 kB / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1257, allocations: 4 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.1262, allocations: 151.3 kB / 448.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.502e-06/0.1262, allocations: 0 / 448.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008761/0.1271, allocations: 293.8 kB / 448.4 MB, free: 7.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1271, allocations: 55.34 kB / 448.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1273, allocations: 227.1 kB / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1274, allocations: 25.7 kB / 448.7 MB, free: 7.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.953e-05/0.1275, allocations: 124.3 kB / 448.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.1275, allocations: 39.69 kB / 448.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.1275, allocations: 0 / 448.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.1276, allocations: 326.8 kB / 449.2 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.1279, allocations: 83.94 kB / 449.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.1282, allocations: 120.2 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.1284, allocations: 105.7 kB / 449.5 MB, free: 6.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1285, allocations: 0 / 449.5 MB, free: 6.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006519/0.1291, allocations: 282.9 kB / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.1292, allocations: 37.7 kB / 449.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1292, allocations: 0 / 449.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1292, allocations: 4.125 kB / 449.8 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.1294, allocations: 43.91 kB / 449.9 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1294, allocations: 7.984 kB / 449.9 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.1296, allocations: 27.92 kB / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.1296, allocations: 12 kB / 449.9 MB, free: 5.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001236/0.1298, allocations: 138.5 kB / 450 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.1298, allocations: 19.72 kB / 450.1 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.1299, allocations: 21.39 kB / 450.1 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1299, allocations: 4 kB / 450.1 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1299, allocations: 3.938 kB / 450.1 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1299, allocations: 0 / 450.1 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.1301, allocations: 241.4 kB / 450.3 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1301, allocations: 4 kB / 450.3 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.1303, allocations: 31.97 kB / 450.4 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1303, allocations: 0 / 450.4 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.1303, allocations: 4 kB / 450.4 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1303, allocations: 0 / 450.4 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1304, allocations: 3.938 kB / 450.4 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.1312, allocations: 340.7 kB / 450.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.1313, allocations: 100.8 kB / 450.8 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.1314, allocations: 7.984 kB / 450.8 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.1316, allocations: 32.03 kB / 450.8 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.1316, allocations: 19.92 kB / 450.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.1317, allocations: 7.984 kB / 450.9 MB, free: 4.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.1318, allocations: 164.6 kB / 451 MB, free: 4.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1319, allocations: 0 / 451 MB, free: 4.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1321, allocations: 35.98 kB / 451.1 MB, free: 4.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002004/0.1341, allocations: 1.183 MB / 452.2 MB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006412/0.1348, allocations: 247.2 kB / 452.5 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1348, allocations: 0 / 452.5 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.1351, allocations: 87.94 kB / 452.6 MB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1355, allocations: 48.02 kB / 452.6 MB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.1379, allocations: 1.767 MB / 454.4 MB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1382, allocations: 0.7283 MB / 455.1 MB, free: 444 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.1383, allocations: 21.55 kB / 455.1 MB, free: 424 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.819e-05/0.1385, allocations: 55.41 kB / 455.2 MB, free: 368 kB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1385, allocations: 0 / 455.2 MB, free: 368 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1991/0.3376, allocations: 4.282 MB / 459.5 MB, free: 45.26 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.3378, allocations: 219.1 kB / 459.7 MB, free: 45.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.203, allocations: 0 / 459.7 MB, free: 45.02 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat