Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.001335/0.001335, allocations: 94.08 kB / 17 MB, free: 6.355 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.001142/0.001142, allocations: 183.8 kB / 17.89 MB, free: 5.926 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.406/1.406, allocations: 223.3 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 44.23 MB / 337.2 MB, free: 2.547 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 12 kB / 409.7 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 61.93 MB / 471.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.001983/0.1202, allocations: 1.394 MB / 473.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1221, allocations: 1.371 MB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.1222, allocations: 3.938 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.1225, allocations: 31.91 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1227, allocations: 43.77 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.123, allocations: 103.7 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1232, allocations: 75.77 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.1233, allocations: 16.22 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.28e-05/0.1234, allocations: 39.78 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1236, allocations: 35.83 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1236, allocations: 3.938 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1237, allocations: 47.98 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.1238, allocations: 11.98 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.1238, allocations: 37.64 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.124, allocations: 92.08 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.124, allocations: 0 / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.124, allocations: 4 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1241, allocations: 0 / 475 MB, free: 10.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005485/0.1246, allocations: 394.9 kB / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1247, allocations: 12.03 kB / 475.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.1247, allocations: 30.56 kB / 475.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1248, allocations: 7.906 kB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.125, allocations: 201.4 kB / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.125, allocations: 7.953 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.125, allocations: 0 / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1252, allocations: 71.39 kB / 475.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1252, allocations: 3.906 kB / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1252, allocations: 0 / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1252, allocations: 0 / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.1253, allocations: 27.92 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.1257, allocations: 276.9 kB / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1258, allocations: 58.67 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.1259, allocations: 24.84 kB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1259, allocations: 3.938 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.1261, allocations: 63.39 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1261, allocations: 4 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005225/0.1266, allocations: 169.2 kB / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.1267, allocations: 81.11 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1269, allocations: 149.8 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1269, allocations: 25.7 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.1269, allocations: 96.12 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.127, allocations: 27.64 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.127, allocations: 4 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1271, allocations: 326.8 kB / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.1272, allocations: 19.98 kB / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.1272, allocations: 50.44 kB / 477.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.1273, allocations: 23.94 kB / 477.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1273, allocations: 0 / 477.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001697/0.1275, allocations: 93.58 kB / 477.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1275, allocations: 14.41 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1275, allocations: 0 / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1275, allocations: 0 / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.1276, allocations: 20.3 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1276, allocations: 4 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.1277, allocations: 15.86 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1277, allocations: 4 kB / 477.2 MB, free: 7.742 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 (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 0.0001049/0.1278, allocations: 121.5 kB / 477.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.1279, allocations: 11.89 kB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.1279, allocations: 20.7 kB / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1279, allocations: 0 / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1279, allocations: 0 / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1279, allocations: 0 / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.1284, allocations: 391.3 kB / 477.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1284, allocations: 0 / 477.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.1284, allocations: 11.98 kB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1284, allocations: 0 / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1285, allocations: 8.031 kB / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1285, allocations: 3.938 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1285, allocations: 3.953 kB / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.1287, allocations: 200.5 kB / 478 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.1288, allocations: 93 kB / 478.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1288, allocations: 0 / 478.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.1289, allocations: 8 kB / 478.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.1289, allocations: 11.94 kB / 478.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1289, allocations: 8 kB / 478.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.129, allocations: 117.8 kB / 478.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.129, allocations: 0 / 478.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1293, allocations: 28 kB / 478.2 MB, free: 6.621 MB / 350.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.001494/0.1308, allocations: 1.134 MB / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.131, allocations: 63.91 kB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.131, allocations: 0 / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/0.1311, allocations: 23.98 kB / 479.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1314, allocations: 31.92 kB / 479.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1324, allocations: 0.6354 MB / 480.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1328, allocations: 0.6975 MB / 480.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.066e-05/0.1329, allocations: 20.86 kB / 480.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.1329, allocations: 31.42 kB / 480.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1329, allocations: 0 / 480.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.1481, allocations: 3.061 MB / 483.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000336/0.1484, allocations: 229.5 kB / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.047, allocations: 0 / 484.2 MB, free: 0.9062 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat