Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009282/0.0009282, allocations: 165 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9784/0.9784, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2726/0.2726, allocations: 32.8 MB / 294.3 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.237e-05, allocations: 2.312 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002538/0.00257, allocations: 1.77 MB / 377.9 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.003915, allocations: 1.005 MB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.004001, allocations: 4 kB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.004347, allocations: 43.7 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.004682, allocations: 95.53 kB / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.004835, allocations: 79.55 kB / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.005013, allocations: 107.7 kB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.005115, allocations: 4 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.883e-05/0.005204, allocations: 59.77 kB / 379.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.005285, allocations: 27.91 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.005305, allocations: 4 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.216e-05/0.005397, allocations: 43.92 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.005458, allocations: 31.91 kB / 379.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.005503, allocations: 15.94 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.005686, allocations: 103.6 kB / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.005689, allocations: 4 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00569, allocations: 0 / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.005695, allocations: 0 / 379.5 MB, free: 1.18 MB / 346.7 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.0004735/0.006169, allocations: 447.8 kB / 379.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.006208, allocations: 12.03 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.006254, allocations: 12.84 kB / 380 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.006437, allocations: 153.1 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.006457, allocations: 8.375 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.006481, allocations: 4.375 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.006613, allocations: 62.94 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.006624, allocations: 3.938 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.006633, allocations: 0 / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.00664, allocations: 0 / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.006675, allocations: 15.92 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.006996, allocations: 287.8 kB / 380.5 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.007107, allocations: 51.11 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.007151, allocations: 23.89 kB / 380.5 MB, free: 16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.007167, allocations: 3.938 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.0073, allocations: 72.97 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.007301, allocations: 0 / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004013/0.007702, allocations: 149.4 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.007735, allocations: 55.41 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.007891, allocations: 238.3 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.007906, allocations: 25.7 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.007967, allocations: 154.9 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.007997, allocations: 23.8 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.008032, allocations: 27.38 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.00816, allocations: 0.5001 MB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.008189, allocations: 8 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.008227, allocations: 39.34 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.005e-05/0.008287, allocations: 47.31 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.008289, allocations: 7.938 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001166/0.008406, allocations: 97.52 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.00842, allocations: 4.625 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.008425, allocations: 384 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.008443, allocations: 4.031 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.008522, allocations: 16 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.008528, allocations: 0 / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.008561, allocations: 7.984 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.008568, allocations: 4 kB / 382 MB, free: 14.43 MB / 362.7 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 7.931e-05/0.008647, allocations: 164.5 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.008664, allocations: 11.95 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.008845, allocations: 107.2 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.008848, allocations: 4 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.008852, allocations: 4 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.008855, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.00918, allocations: 396.9 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.009181, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.009219, allocations: 15.92 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.009223, allocations: 4 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.009231, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.009233, allocations: 3.938 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.009234, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.009381, allocations: 259.4 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.009396, allocations: 19.92 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.009414, allocations: 4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.438e-05/0.009458, allocations: 3.984 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.00949, allocations: 7.984 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.009507, allocations: 8 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.487e-05/0.009582, allocations: 168.2 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009582, allocations: 0 / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000187/0.009769, allocations: 27.88 kB / 383.2 MB, free: 13.16 MB / 362.7 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 (9): * Single equations (assignments): 7 * 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.001025/0.01079, allocations: 442.6 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.01093, allocations: 55.61 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01094, allocations: 0 / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.464e-05/0.01098, allocations: 31.61 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.01125, allocations: 27.97 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.0117, allocations: 222.3 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.484e-05/0.01174, allocations: 67.34 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.786e-05/0.01178, allocations: 21.08 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.01182, allocations: 16.5 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01182, allocations: 0 / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.003924/0.01574, allocations: 1.881 MB / 385.9 MB, free: 10.54 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.235074087046087]