Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009853/0.0009854, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.0002679, allocations: 8.375 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1122, allocations: 63.56 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002215/0.1145, allocations: 1.442 MB / 485.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1162, allocations: 0.9941 MB / 486.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.1163, allocations: 0 / 486.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.1166, allocations: 79.77 kB / 486.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.1169, allocations: 95.72 kB / 486.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1172, allocations: 63.86 kB / 486.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.1174, allocations: 111.7 kB / 486.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.1175, allocations: 4 kB / 486.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1176, allocations: 59.69 kB / 486.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1177, allocations: 55.77 kB / 486.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1178, allocations: 0 / 486.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1179, allocations: 39.98 kB / 486.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.1179, allocations: 31.91 kB / 486.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.118, allocations: 69.38 kB / 486.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1182, allocations: 92.03 kB / 486.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1182, allocations: 3.938 kB / 486.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1182, allocations: 0 / 486.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1182, allocations: 0 / 486.9 MB, free: 0.9844 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.0005317/0.1188, allocations: 411 kB / 487.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1188, allocations: 8.875 kB / 487.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.1188, allocations: 16.75 kB / 487.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.1191, allocations: 204.6 kB / 487.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1191, allocations: 4.375 kB / 487.5 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1191, allocations: 12.12 kB / 487.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1193, allocations: 53.61 kB / 487.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1193, allocations: 0 / 487.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1193, allocations: 8 kB / 487.6 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1193, allocations: 4 kB / 487.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.1194, allocations: 15.98 kB / 487.6 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.1198, allocations: 288.8 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.12, allocations: 66.61 kB / 487.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.1201, allocations: 20.84 kB / 488 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1201, allocations: 3.984 kB / 488 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.1202, allocations: 67.39 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1203, allocations: 7.938 kB / 488 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005672/0.1208, allocations: 169.2 kB / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1209, allocations: 59.39 kB / 488.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.1212, allocations: 219.4 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1212, allocations: 29.7 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.1213, allocations: 108.1 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.1213, allocations: 27.64 kB / 488.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1214, allocations: 9.719 kB / 488.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1216, allocations: 334.8 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.626e-05/0.1217, allocations: 23.98 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.198e-05/0.1217, allocations: 41.64 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1219, allocations: 53.7 kB / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1219, allocations: 0 / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.1221, allocations: 105.5 kB / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1221, allocations: 8 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1221, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1222, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.1223, allocations: 20.17 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1223, allocations: 0 / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.787e-05/0.1223, allocations: 11.88 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1224, allocations: 160 / 489.2 MB, free: 14.38 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.0001382/0.1225, allocations: 137.8 kB / 489.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.1225, allocations: 19.81 kB / 489.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.1226, allocations: 21.38 kB / 489.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1226, allocations: 3.984 kB / 489.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.1226, allocations: 4 kB / 489.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1226, allocations: 3.938 kB / 489.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.1231, allocations: 395.3 kB / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1232, allocations: 0 / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.1232, allocations: 11.98 kB / 489.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1232, allocations: 4.031 kB / 489.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1232, allocations: 8.312 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1232, allocations: 0 / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1232, allocations: 4 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.1235, allocations: 204.1 kB / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.1236, allocations: 92.91 kB / 490.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.1236, allocations: 11.88 kB / 490.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.1237, allocations: 8 kB / 490.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.1238, allocations: 7.984 kB / 490.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1238, allocations: 4 kB / 490.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.1239, allocations: 165.2 kB / 490.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1239, allocations: 0 / 490.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1242, allocations: 27.98 kB / 490.3 MB, free: 13.16 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.001066/0.1253, allocations: 448.6 kB / 490.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.1255, allocations: 55.92 kB / 490.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1255, allocations: 4 kB / 490.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.638e-05/0.1256, allocations: 23.98 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1259, allocations: 32.09 kB / 490.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.1265, allocations: 320.1 kB / 491.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.1268, allocations: 0.7083 MB / 491.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.1269, allocations: 19.42 kB / 491.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1269, allocations: 0 / 491.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Templates: time 0.004096/0.131, allocations: 1.982 MB / 493.9 MB, free: 9.695 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches