Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 93.22 kB / 17.35 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002688/0.002688, allocations: 200 kB / 18.28 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.17 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 12 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 63.57 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002176/0.1189, allocations: 1.454 MB / 484.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1205, allocations: 0.9825 MB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.1206, allocations: 0 / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1209, allocations: 63.73 kB / 485.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.1211, allocations: 79.73 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.1213, allocations: 63.88 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.1215, allocations: 111.6 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.1216, allocations: 4 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.1217, allocations: 47.77 kB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.538e-05/0.1218, allocations: 31.8 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1218, allocations: 0 / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.1219, allocations: 51.91 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.1219, allocations: 31.91 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.122, allocations: 65.39 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1222, allocations: 131.8 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1222, allocations: 0 / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1222, allocations: 0 / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.1222, allocations: 0 / 486.2 MB, free: 1.031 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.0005284/0.1228, allocations: 430.9 kB / 486.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1228, allocations: 8.875 kB / 486.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.1229, allocations: 20.69 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.1231, allocations: 209 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.1231, allocations: 12.38 kB / 486.9 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1232, allocations: 4.125 kB / 486.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1233, allocations: 53.67 kB / 486.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1233, allocations: 7.984 kB / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1234, allocations: 0 / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1234, allocations: 0 / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.827e-05/0.1234, allocations: 19.98 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.1238, allocations: 308.7 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.124, allocations: 58.67 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.1241, allocations: 16.86 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1241, allocations: 4 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.1243, allocations: 75.31 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.807e-06/0.1243, allocations: 0 / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005121/0.1248, allocations: 181.2 kB / 487.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.1248, allocations: 51.41 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.1251, allocations: 271 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1251, allocations: 29.7 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.1252, allocations: 120 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1252, allocations: 15.81 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.1253, allocations: 13.7 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1254, allocations: 334.8 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.1255, allocations: 23.98 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.1255, allocations: 41.64 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1256, allocations: 53.66 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1256, allocations: 0 / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001832/0.1258, allocations: 117.4 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1259, allocations: 4 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1259, allocations: 128 / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1259, allocations: 4 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.126, allocations: 19.94 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.126, allocations: 4.141 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.126, allocations: 11.88 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1261, allocations: 4 kB / 488.7 MB, free: 14.31 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.0001012/0.1262, allocations: 129.8 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.1262, allocations: 19.84 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.1262, allocations: 29.38 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1263, allocations: 0 / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1263, allocations: 4 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1263, allocations: 3.938 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.1267, allocations: 399.3 kB / 489.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1267, allocations: 0 / 489.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.1267, allocations: 8 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1268, allocations: 4.031 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1268, allocations: 11.94 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.1268, allocations: 3.938 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1268, allocations: 3.984 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.127, allocations: 200.2 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.1271, allocations: 92.92 kB / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1271, allocations: 7.938 kB / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.1272, allocations: 11.92 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.1272, allocations: 8 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1273, allocations: 0 / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1274, allocations: 208.4 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1274, allocations: 0 / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1277, allocations: 28 kB / 489.8 MB, free: 13.06 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.001057/0.1288, allocations: 455.6 kB / 490.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.1289, allocations: 51.98 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.129, allocations: 0 / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.129, allocations: 35.91 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1294, allocations: 32.09 kB / 490.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.1299, allocations: 330.8 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1302, allocations: 0.716 MB / 491.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.28e-05/0.1303, allocations: 21.17 kB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.1303, allocations: 15.44 kB / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1303, allocations: 3.938 kB / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Templates: time 0.004529/0.1348, allocations: 1.664 MB / 493.1 MB, free: 9.867 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches