Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008328/0.0008328, allocations: 93.59 kB / 18.01 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008404/0.0008406, allocations: 206.5 kB / 18.94 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.7 MB / 247.5 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1973/0.1973, allocations: 46.19 MB / 345.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002746, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 63.56 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002345/0.1175, allocations: 1.435 MB / 485.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1193, allocations: 0.9941 MB / 486.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.06e-05/0.1194, allocations: 0 / 486.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.1197, allocations: 47.83 kB / 486.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.1201, allocations: 75.73 kB / 486.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.1203, allocations: 67.86 kB / 486.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1205, allocations: 95.7 kB / 486.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1207, allocations: 11.98 kB / 486.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1208, allocations: 39.73 kB / 486.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.1209, allocations: 35.78 kB / 486.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1209, allocations: 0 / 486.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.121, allocations: 43.98 kB / 486.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.1211, allocations: 27.91 kB / 486.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.1212, allocations: 65.38 kB / 486.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1214, allocations: 92.09 kB / 486.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1214, allocations: 0 / 486.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1214, allocations: 0 / 486.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1214, allocations: 0 / 486.8 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.0005781/0.122, allocations: 407 kB / 487.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.122, allocations: 8.875 kB / 487.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.1221, allocations: 8.844 kB / 487.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1223, allocations: 208 kB / 487.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1224, allocations: 4.375 kB / 487.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.1224, allocations: 12.12 kB / 487.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1226, allocations: 53.61 kB / 487.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1226, allocations: 0 / 487.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1226, allocations: 8 kB / 487.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1226, allocations: 0 / 487.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.1227, allocations: 19.92 kB / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.1231, allocations: 292.9 kB / 487.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1233, allocations: 62.62 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.1234, allocations: 20.84 kB / 487.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1234, allocations: 0 / 487.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.1236, allocations: 67.39 kB / 487.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1236, allocations: 0 / 487.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005595/0.1242, allocations: 185 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.1242, allocations: 51.41 kB / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1245, allocations: 210.9 kB / 488.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1245, allocations: 25.7 kB / 488.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.1246, allocations: 108.1 kB / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.1246, allocations: 19.7 kB / 488.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.1246, allocations: 13.72 kB / 488.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1248, allocations: 330.8 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.1248, allocations: 23.98 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.1249, allocations: 37.64 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.125, allocations: 65.77 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.125, allocations: 0 / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1252, allocations: 105.4 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1253, allocations: 10.5 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1253, allocations: 4.031 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1253, allocations: 0 / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.1254, allocations: 15.98 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1254, allocations: 4 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.1255, allocations: 7.938 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1255, allocations: 4.375 kB / 489.1 MB, free: 14.51 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.0001129/0.1256, allocations: 141.7 kB / 489.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.1256, allocations: 7.906 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.1257, allocations: 17.41 kB / 489.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1257, allocations: 4 kB / 489.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1257, allocations: 4 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1257, allocations: 7.922 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.1261, allocations: 391.3 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1262, allocations: 0 / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.1262, allocations: 8 kB / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1262, allocations: 192 / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1262, allocations: 15.95 kB / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1262, allocations: 3.938 kB / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1262, allocations: 0 / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.1265, allocations: 204.1 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.1265, allocations: 88.92 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1266, allocations: 15.92 kB / 490 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1266, allocations: 4 kB / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1267, allocations: 4 kB / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1267, allocations: 7.984 kB / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1268, allocations: 160.3 kB / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1269, allocations: 0 / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1271, allocations: 20 kB / 490.2 MB, free: 13.32 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.001074/0.1282, allocations: 447.2 kB / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1284, allocations: 67.89 kB / 490.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1284, allocations: 0 / 490.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.1285, allocations: 28.12 kB / 490.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1289, allocations: 27.98 kB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.1294, allocations: 303.9 kB / 491 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.1297, allocations: 0.7083 MB / 491.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.1298, allocations: 19.42 kB / 491.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1298, allocations: 0 / 491.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of Templates: time 0.003976/0.1338, allocations: 1.941 MB / 493.7 MB, free: 9.895 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches