Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.001117/0.001117, allocations: 98.19 kB / 17.01 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 182.6 kB / 17.89 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1907/0.1907, allocations: 44.23 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003004, allocations: 12 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1122, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002236/0.1144, allocations: 1.406 MB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1157, allocations: 0.8036 MB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.1158, allocations: 4 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.1161, allocations: 39.88 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1163, allocations: 51.81 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.1166, allocations: 94.77 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.1169, allocations: 107.7 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.75e-05/0.117, allocations: 19.98 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.1171, allocations: 39.8 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.1172, allocations: 43.83 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1172, allocations: 4 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1173, allocations: 43.98 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/0.1174, allocations: 31.89 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.1175, allocations: 41.62 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1176, allocations: 108.1 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1177, allocations: 0 / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1177, allocations: 0 / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1177, allocations: 7.938 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006357/0.1183, allocations: 414.8 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1184, allocations: 8.031 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1184, allocations: 30.56 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1184, allocations: 11.91 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1187, allocations: 215.5 kB / 475.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1187, allocations: 4 kB / 475.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1187, allocations: 7.953 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1189, allocations: 77.59 kB / 475.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1189, allocations: 7.906 kB / 475.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1189, allocations: 4 kB / 475.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.119, allocations: 4 kB / 475.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1191, allocations: 43.89 kB / 475.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.1195, allocations: 320.7 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.1197, allocations: 86.58 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.1198, allocations: 32.84 kB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1199, allocations: 0 / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.12, allocations: 79.38 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.985e-06/0.1201, allocations: 0 / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008294/0.1209, allocations: 289.6 kB / 476.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.1209, allocations: 51.41 kB / 476.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1212, allocations: 187.3 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1212, allocations: 29.7 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.1214, allocations: 104.6 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.1214, allocations: 47.45 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.1214, allocations: 4 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.1217, allocations: 330.7 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.1217, allocations: 43.92 kB / 476.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.1218, allocations: 49.7 kB / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/0.1219, allocations: 47.98 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.122, allocations: 4 kB / 477 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003528/0.1223, allocations: 144.6 kB / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1223, allocations: 8 kB / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1224, allocations: 0 / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1224, allocations: 32 / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.1225, allocations: 31.98 kB / 477.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1225, allocations: 0 / 477.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.1225, allocations: 4 kB / 477.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1225, allocations: 7.984 kB / 477.2 MB, free: 7.848 MB / 350.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 (15): * Single equations (assignments): 15 * 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.0001221/0.1227, allocations: 142.2 kB / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.1227, allocations: 11.81 kB / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-05/0.1228, allocations: 21.52 kB / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1228, allocations: 0 / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1228, allocations: 4 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1228, allocations: 4 kB / 477.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.1236, allocations: 483.9 kB / 477.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1236, allocations: 0 / 477.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.1236, allocations: 23.92 kB / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1236, allocations: 4 kB / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1237, allocations: 4.062 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1237, allocations: 8 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1237, allocations: 3.953 kB / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.124, allocations: 257.1 kB / 478.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.1241, allocations: 92.91 kB / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.1241, allocations: 0 / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.1242, allocations: 12 kB / 478.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.1242, allocations: 15.88 kB / 478.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1242, allocations: 8 kB / 478.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1244, allocations: 136.9 kB / 478.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.184e-06/0.1244, allocations: 0 / 478.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.1247, allocations: 43.92 kB / 478.4 MB, free: 6.488 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.00193/0.1266, allocations: 1.195 MB / 479.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1269, allocations: 103.8 kB / 479.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1269, allocations: 0 / 479.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.127, allocations: 51.98 kB / 479.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1274, allocations: 31.88 kB / 479.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1293, allocations: 0.8392 MB / 480.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.1298, allocations: 0.7087 MB / 481.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.322e-05/0.1299, allocations: 29.41 kB / 481.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.13, allocations: 47.36 kB / 481.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.13, allocations: 0 / 481.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.1452, allocations: 3.507 MB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/0.1455, allocations: 221.2 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.121, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat