Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008812/0.0008812, allocations: 91.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.0008539/0.0008539, allocations: 202.2 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.288/1.288, 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.1825/0.1825, allocations: 46.18 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002302/0.0002302, allocations: 8 kB / 419.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09044/0.09068, allocations: 63.56 MB / 483.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001744/0.09246, allocations: 1.446 MB / 484.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.09386, allocations: 0.9824 MB / 485.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.09392, allocations: 0 / 485.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.09416, allocations: 39.83 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.09437, allocations: 79.75 kB / 485.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.09454, allocations: 63.86 kB / 485.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.09469, allocations: 95.64 kB / 485.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.719e-05/0.09478, allocations: 15.98 kB / 485.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.09485, allocations: 35.8 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.09492, allocations: 35.78 kB / 485.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.09494, allocations: 0 / 485.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.09503, allocations: 39.98 kB / 485.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.09508, allocations: 31.86 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.09515, allocations: 57.48 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.09531, allocations: 103.9 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.09532, allocations: 4 kB / 486.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09533, allocations: 0 / 486.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.09534, allocations: 0 / 486.1 MB, free: 1.156 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.0004273/0.09577, allocations: 385.5 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.09581, allocations: 12.88 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.09585, allocations: 12.83 kB / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.09604, allocations: 212 kB / 486.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.09606, allocations: 384 / 486.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.09608, allocations: 12.05 kB / 486.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.09621, allocations: 57.67 kB / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.09623, allocations: 0 / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.09624, allocations: 0 / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.09625, allocations: 0 / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.555e-05/0.09632, allocations: 19.98 kB / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.09663, allocations: 296.7 kB / 487.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.09681, allocations: 58.73 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.09687, allocations: 20.84 kB / 487.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.09689, allocations: 0 / 487.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.09704, allocations: 75.39 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.09706, allocations: 0 / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004629/0.09753, allocations: 177.1 kB / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.09757, allocations: 51.41 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.09772, allocations: 174.2 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.09775, allocations: 25.7 kB / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.0978, allocations: 100.1 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.09783, allocations: 27.64 kB / 487.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.09787, allocations: 9.719 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.09797, allocations: 334.8 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.976e-05/0.09803, allocations: 19.94 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-05/0.0981, allocations: 33.7 kB / 488.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.09821, allocations: 61.7 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.09822, allocations: 0 / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001787/0.09841, allocations: 105.5 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.09843, allocations: 4 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.09844, allocations: 7.984 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.09845, allocations: 0 / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.09853, allocations: 12 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.09854, allocations: 0 / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.0986, allocations: 15.92 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.09862, allocations: 4 kB / 488.4 MB, free: 14.64 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 8.159e-05/0.0987, allocations: 125.6 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.09873, allocations: 15.84 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.09877, allocations: 16.7 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.09878, allocations: 0 / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.09878, allocations: 0 / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.09879, allocations: 3.938 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.09918, allocations: 391.3 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.0992, allocations: 0 / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.09923, allocations: 8 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.09925, allocations: 8.016 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.09926, allocations: 11.94 kB / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.09927, allocations: 0 / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.09927, allocations: 0 / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.09948, allocations: 196.2 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.09953, allocations: 89.02 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.09956, allocations: 11.92 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.09964, allocations: 4.188 kB / 489.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.09968, allocations: 8 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.0997, allocations: 12.3 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.07e-05/0.09979, allocations: 123.2 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.0998, allocations: 0 / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1001, allocations: 27.91 kB / 489.4 MB, free: 13.5 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.000955/0.101, allocations: 465.2 kB / 489.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.1012, allocations: 55.86 kB / 489.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1012, allocations: 0 / 489.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.1013, allocations: 39.91 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.1016, allocations: 28.11 kB / 490 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.102, allocations: 222.4 kB / 490.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1022, allocations: 0.7083 MB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.256e-05/0.1023, allocations: 12.88 kB / 490.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.1023, allocations: 15.44 kB / 490.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1023, allocations: 0 / 490.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Templates: time 0.00377/0.1061, allocations: 1.624 MB / 492.6 MB, free: 10.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches