Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_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.001039/0.001039, allocations: 95.22 kB / 16.99 MB, free: 5.941 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.0009304/0.0009306, allocations: 181.3 kB / 17.87 MB, free: 5.609 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.328/1.328, allocations: 223.2 MB / 241.8 MB, free: 352 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.2216/0.2216, allocations: 44.23 MB / 337.1 MB, free: 2.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003044, allocations: 12 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1111, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002588/0.1138, allocations: 1.649 MB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1154, allocations: 0.8892 MB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1155, allocations: 4 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1158, allocations: 27.84 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.116, allocations: 67.72 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.1164, allocations: 115.7 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.1166, allocations: 119.7 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1167, allocations: 29.67 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1169, allocations: 71.69 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.117, allocations: 59.69 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.117, allocations: 8 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.1171, allocations: 35.92 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.1172, allocations: 23.91 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.1173, allocations: 53.58 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.1175, allocations: 136 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1175, allocations: 8 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1175, allocations: 0 / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1175, allocations: 0 / 474.8 MB, free: 10.32 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008941/0.1184, allocations: 0.537 MB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1184, allocations: 8.031 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.391e-05/0.1185, allocations: 42.55 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.1186, allocations: 19.75 kB / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.1189, allocations: 243.5 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1189, allocations: 11.98 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.1189, allocations: 11.95 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.1194, allocations: 160.1 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1194, allocations: 0 / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1194, allocations: 4 kB / 475.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1194, allocations: 4 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.1199, allocations: 131.9 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.1205, allocations: 0.5477 MB / 476.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.1212, allocations: 190.5 kB / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1212, allocations: 0 / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.1216, allocations: 159.2 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.1217, allocations: 4 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.000885/0.1226, allocations: 293.4 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.1226, allocations: 55.41 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1229, allocations: 223.1 kB / 477.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1229, allocations: 33.7 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.123, allocations: 120.3 kB / 477.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.123, allocations: 35.59 kB / 477.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.123, allocations: 8 kB / 477.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1232, allocations: 330.8 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.1235, allocations: 79.94 kB / 478 MB, free: 6.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.1237, allocations: 116.2 kB / 478.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.124, allocations: 109.7 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.124, allocations: 0 / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006626/0.1247, allocations: 277.8 kB / 478.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.1248, allocations: 29.7 kB / 478.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1248, allocations: 4 kB / 478.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1248, allocations: 8.109 kB / 478.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.125, allocations: 51.89 kB / 478.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.125, allocations: 0 / 478.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.1252, allocations: 39.77 kB / 478.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1252, allocations: 8 kB / 478.7 MB, free: 6.184 MB / 350.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.0001191/0.1253, allocations: 134.3 kB / 478.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.1254, allocations: 19.81 kB / 478.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.1254, allocations: 21.39 kB / 478.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1254, allocations: 0 / 478.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.1255, allocations: 0 / 478.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1255, allocations: 7.938 kB / 478.8 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.1257, allocations: 241.3 kB / 479.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1257, allocations: 0 / 479.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1259, allocations: 43.91 kB / 479.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1259, allocations: 0 / 479.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1259, allocations: 0 / 479.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1259, allocations: 0 / 479.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1259, allocations: 4 kB / 479.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/0.1268, allocations: 348.6 kB / 479.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.1269, allocations: 96.94 kB / 479.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1269, allocations: 0 / 479.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1271, allocations: 36.03 kB / 479.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.1271, allocations: 19.91 kB / 479.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1272, allocations: 8 kB / 479.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.1273, allocations: 156.7 kB / 479.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1273, allocations: 0 / 479.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1276, allocations: 40 kB / 479.8 MB, free: 4.941 MB / 350.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.001891/0.1295, allocations: 1.177 MB / 481 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006172/0.1301, allocations: 239.3 kB / 481.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1301, allocations: 0 / 481.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.1304, allocations: 91.92 kB / 481.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.1307, allocations: 36.09 kB / 481.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.1329, allocations: 1.76 MB / 483.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1332, allocations: 0.7283 MB / 483.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.365e-05/0.1333, allocations: 29.52 kB / 483.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.1334, allocations: 55.41 kB / 483.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1334, allocations: 0 / 483.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.1486, allocations: 4.292 MB / 488.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.1488, allocations: 220 kB / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.144, allocations: 0 / 488.4 MB, free: 12.46 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat