Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.000799/0.0007989, allocations: 98.16 kB / 17 MB, free: 6.398 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.0008895/0.0008895, allocations: 176.4 kB / 17.89 MB, free: 5.945 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.458/1.458, allocations: 223.2 MB / 241.9 MB, free: 268 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.1947/0.1947, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 9.062 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.001823/0.1158, allocations: 1.359 MB / 473 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.117, allocations: 0.7803 MB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.1171, allocations: 0 / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.1174, allocations: 51.73 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1176, allocations: 59.81 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1178, allocations: 79.84 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.118, allocations: 87.67 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.118, allocations: 4 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.779e-05/0.1181, allocations: 31.86 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.1182, allocations: 35.78 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1182, allocations: 4 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.631e-05/0.1183, allocations: 27.98 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.1184, allocations: 27.91 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.1184, allocations: 37.64 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.1185, allocations: 92.09 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1186, allocations: 0 / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1186, allocations: 0 / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1186, allocations: 0 / 474.3 MB, free: 10.94 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004522/0.119, allocations: 414.7 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1191, allocations: 11.97 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.1191, allocations: 34.56 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1192, allocations: 11.91 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1194, allocations: 214.7 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1194, allocations: 3.938 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1194, allocations: 11.95 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1195, allocations: 45.67 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.1195, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.1196, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1196, allocations: 4 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.1196, allocations: 19.98 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.1198, allocations: 181.7 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.12, allocations: 58.55 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.12, allocations: 20.84 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1201, allocations: 0 / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.1202, allocations: 71.34 kB / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1202, allocations: 0 / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002521/0.1205, allocations: 101.4 kB / 475.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1206, allocations: 51.41 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.1208, allocations: 262.3 kB / 475.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1208, allocations: 25.7 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.1209, allocations: 112.1 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1209, allocations: 19.81 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.121, allocations: 0 / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1211, allocations: 326.8 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/0.1211, allocations: 12 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.1212, allocations: 29.7 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/0.1213, allocations: 12 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1213, allocations: 0 / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001499/0.1214, allocations: 85.84 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1215, allocations: 11.94 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1215, allocations: 8 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1215, allocations: 0 / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.1216, allocations: 8 kB / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1216, allocations: 3.938 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.1217, allocations: 15.84 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1217, allocations: 4 kB / 476.5 MB, free: 8.555 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 (7): * Single equations (assignments): 7 * 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.0001154/0.1218, allocations: 138.3 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.1218, allocations: 15.89 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.1219, allocations: 20.95 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1219, allocations: 0 / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1219, allocations: 0 / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1219, allocations: 0 / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.122, allocations: 197.5 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.122, allocations: 0 / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.1221, allocations: 4 kB / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1221, allocations: 3.938 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1221, allocations: 7.984 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1221, allocations: 7.953 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1221, allocations: 0 / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.1223, allocations: 109 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.1224, allocations: 92.91 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1224, allocations: 0 / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.885e-05/0.1224, allocations: 8 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.1225, allocations: 11.94 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1225, allocations: 4 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.1227, allocations: 192.5 kB / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 0 / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1229, allocations: 19.98 kB / 477.3 MB, free: 7.641 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001246/0.1241, allocations: 0.9504 MB / 478.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1243, allocations: 43.92 kB / 478.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1243, allocations: 0 / 478.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.714e-05/0.1244, allocations: 19.98 kB / 478.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1247, allocations: 23.88 kB / 478.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1259, allocations: 0.812 MB / 479.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1262, allocations: 0.72 MB / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.1262, allocations: 16.8 kB / 479.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.1263, allocations: 35.42 kB / 479.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1263, allocations: 0 / 479.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.1401, allocations: 2.968 MB / 482.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.1404, allocations: 217.9 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.08, allocations: 3.75 kB / 483.1 MB, free: 1.996 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat