Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007653/0.0007653, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009698/0.0009699, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.7 MB / 247.4 MB, free: 9.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 46.19 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.0002579, allocations: 12 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1157, allocations: 63.56 MB / 483.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002243/0.118, allocations: 1.438 MB / 485.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1197, allocations: 0.9863 MB / 486.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.1198, allocations: 0 / 486.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1201, allocations: 39.83 kB / 486.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.1204, allocations: 83.73 kB / 486.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.1207, allocations: 55.89 kB / 486.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1209, allocations: 107.6 kB / 486.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.121, allocations: 8 kB / 486.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.891e-05/0.1211, allocations: 35.8 kB / 486.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.1212, allocations: 39.77 kB / 486.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1212, allocations: 0 / 486.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1213, allocations: 43.98 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.1214, allocations: 19.94 kB / 486.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.1214, allocations: 65.42 kB / 486.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1216, allocations: 87.98 kB / 486.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1216, allocations: 0 / 486.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1216, allocations: 0 / 486.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1216, allocations: 0 / 486.7 MB, free: 1.086 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.0005459/0.1222, allocations: 399.1 kB / 487.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1222, allocations: 8.875 kB / 487.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.1223, allocations: 16.75 kB / 487.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1225, allocations: 208.1 kB / 487.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1226, allocations: 4.375 kB / 487.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1226, allocations: 4.125 kB / 487.4 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1227, allocations: 57.61 kB / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1228, allocations: 0 / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1228, allocations: 0 / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1228, allocations: 4 kB / 487.4 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.167e-05/0.1229, allocations: 15.98 kB / 487.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.1233, allocations: 293 kB / 487.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1235, allocations: 58.55 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.1235, allocations: 24.8 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1236, allocations: 0 / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1237, allocations: 71.38 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.857e-06/0.1237, allocations: 3.984 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005198/0.1243, allocations: 169.2 kB / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1243, allocations: 59.41 kB / 488.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1245, allocations: 176 kB / 488.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1245, allocations: 33.7 kB / 488.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.1246, allocations: 104 kB / 488.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1246, allocations: 23.75 kB / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1247, allocations: 13.7 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1248, allocations: 330.8 kB / 488.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.1249, allocations: 16 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.1249, allocations: 37.64 kB / 488.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1251, allocations: 61.7 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1251, allocations: 4 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.1253, allocations: 105.4 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1253, allocations: 8 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1253, allocations: 0 / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1253, allocations: 192 / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.1254, allocations: 16 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.1254, allocations: 7.938 kB / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.1255, allocations: 7.922 kB / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.1255, allocations: 4 kB / 489 MB, free: 14.55 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.0001047/0.1256, allocations: 129.8 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.1256, allocations: 7.906 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.1257, allocations: 17.39 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1257, allocations: 4 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1257, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1257, allocations: 3.938 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.1261, allocations: 391.2 kB / 489.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1261, allocations: 4.031 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.1262, allocations: 11.98 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1262, allocations: 0 / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1262, allocations: 3.938 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1262, allocations: 4 kB / 489.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1262, allocations: 4.312 kB / 489.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.1264, allocations: 204.5 kB / 489.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.1265, allocations: 96.91 kB / 489.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1265, allocations: 7.938 kB / 489.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.1266, allocations: 8 kB / 489.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.1266, allocations: 7.984 kB / 489.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1267, allocations: 0 / 489.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1268, allocations: 138.8 kB / 490.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1268, allocations: 0 / 490.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1271, allocations: 27.98 kB / 490.1 MB, free: 13.39 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.00101/0.1281, allocations: 455.3 kB / 490.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1282, allocations: 51.92 kB / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1283, allocations: 4 kB / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.1283, allocations: 35.98 kB / 490.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1287, allocations: 25.69 kB / 490.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.1292, allocations: 280.1 kB / 490.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1295, allocations: 0.7004 MB / 491.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.1295, allocations: 15.44 kB / 491.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1295, allocations: 4 kB / 491.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Templates: time 0.003931/0.1334, allocations: 1.902 MB / 493.5 MB, free: 10.04 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches