Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.13 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 82.48 kB / 417.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 62.45 MB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003208/0.1159, allocations: 1.73 MB / 481.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1177, allocations: 1.025 MB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.1178, allocations: 0 / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.1181, allocations: 39.77 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.1185, allocations: 95.53 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1188, allocations: 83.67 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.119, allocations: 107.7 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1192, allocations: 16 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.1192, allocations: 39.8 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.1194, allocations: 31.78 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1194, allocations: 4 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1195, allocations: 39.98 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.1196, allocations: 19.92 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.1196, allocations: 47.67 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.1199, allocations: 119.9 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1199, allocations: 0 / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1199, allocations: 0 / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1199, allocations: 0 / 483.5 MB, free: 1.82 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.0005798/0.1205, allocations: 422.9 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1205, allocations: 8.031 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.1206, allocations: 12.84 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.1208, allocations: 216 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1209, allocations: 4.375 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.1209, allocations: 8.125 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1211, allocations: 57.61 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1211, allocations: 0 / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1211, allocations: 0 / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1211, allocations: 4 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.605e-05/0.1212, allocations: 19.98 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.1216, allocations: 296.9 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1218, allocations: 54.62 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.1218, allocations: 24.84 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1219, allocations: 0 / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.1221, allocations: 63.39 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1221, allocations: 7.938 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005696/0.1226, allocations: 185 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.1227, allocations: 51.41 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.1229, allocations: 198.4 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.123, allocations: 29.7 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.1231, allocations: 104.1 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.1231, allocations: 23.7 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1231, allocations: 25.66 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1233, allocations: 334.8 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.1233, allocations: 15.98 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.1234, allocations: 41.64 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.1235, allocations: 57.7 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1235, allocations: 0 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001964/0.1237, allocations: 105.5 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1238, allocations: 8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1238, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1238, allocations: 4 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.1239, allocations: 19.98 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1239, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.124, allocations: 11.92 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.124, allocations: 0 / 485.8 MB, free: 15.22 MB / 366.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.1241, allocations: 137.7 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.1241, allocations: 11.91 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.1242, allocations: 17.41 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1242, allocations: 3.984 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1242, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1242, allocations: 3.938 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.1247, allocations: 395.2 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1247, allocations: 4.375 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.1247, allocations: 7.984 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.1247, allocations: 12.03 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1247, allocations: 3.938 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1247, allocations: 240 / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.1248, allocations: 4 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.125, allocations: 204.2 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.125, allocations: 84.92 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1251, allocations: 12.12 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1252, allocations: 7.984 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.1252, allocations: 7.938 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1252, allocations: 4 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1254, allocations: 168.8 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1254, allocations: 0 / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1257, allocations: 24 kB / 486.9 MB, free: 14.02 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.1268, allocations: 454.7 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.127, allocations: 63.91 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.127, allocations: 0 / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.1271, allocations: 31.92 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1274, allocations: 31.34 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.1279, allocations: 242.9 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1282, allocations: 0.7041 MB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.928e-05/0.1283, allocations: 21.17 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1283, allocations: 15.44 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1283, allocations: 0 / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of Templates: time 0.004372/0.1327, allocations: 1.732 MB / 490.2 MB, free: 10.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches