Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001989/0.001989, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001995/0.001995, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.635/1.635, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3518/0.3518, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.745e-05, allocations: 2.312 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003514/0.003542, allocations: 1.75 MB / 377.1 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.005578, allocations: 0.9898 MB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.005643, allocations: 0 / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.005953, allocations: 39.7 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.006293, allocations: 95.53 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.006531, allocations: 91.53 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.006724, allocations: 99.69 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.006816, allocations: 11.98 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.006936, allocations: 55.78 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.007021, allocations: 27.91 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.007045, allocations: 4 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.00715, allocations: 43.92 kB / 378.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.007212, allocations: 19.92 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.007265, allocations: 23.91 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.007514, allocations: 115.6 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.007517, allocations: 4 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.007518, allocations: 0 / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.007523, allocations: 4 kB / 378.7 MB, free: 1.512 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.0006418/0.008165, allocations: 451.5 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.0082, allocations: 8.031 kB / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.008259, allocations: 16.84 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.008525, allocations: 149.1 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.00854, allocations: 4.375 kB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.008562, allocations: 4.375 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.008703, allocations: 50.23 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.008717, allocations: 7.938 kB / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.008729, allocations: 3.984 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.008732, allocations: 0 / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.008813, allocations: 19.94 kB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.009253, allocations: 303.7 kB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.009451, allocations: 67.09 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.485e-05/0.009516, allocations: 27.62 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.009531, allocations: 0 / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.009688, allocations: 72.98 kB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.009689, allocations: 0 / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005691/0.01026, allocations: 177.4 kB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.01034, allocations: 51.41 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.01059, allocations: 250.4 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.01062, allocations: 33.7 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.01074, allocations: 162.7 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.01077, allocations: 23.8 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.01084, allocations: 35.36 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002758/0.01111, allocations: 0.4962 MB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.01117, allocations: 19.98 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.779e-05/0.01126, allocations: 39.38 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.0114, allocations: 75.23 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.0114, allocations: 0 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002142/0.01161, allocations: 109.5 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.01163, allocations: 4 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01163, allocations: 384 / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01165, allocations: 4 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.01174, allocations: 12 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.01174, allocations: 0 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.0118, allocations: 15.98 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.0118, allocations: 0 / 381.3 MB, free: 14.64 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 0.0003706/0.01217, allocations: 172.5 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.01221, allocations: 11.91 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.01248, allocations: 127.2 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01249, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01249, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01249, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.01302, allocations: 420.9 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01303, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.01307, allocations: 11.94 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.01308, allocations: 12.02 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.01309, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01309, allocations: 3.938 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01309, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.01343, allocations: 275.4 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.01346, allocations: 11.91 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.01348, allocations: 4 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.878e-05/0.01355, allocations: 4 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.01359, allocations: 7.984 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.01361, allocations: 4 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000159/0.01376, allocations: 180.1 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01376, allocations: 4 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.01402, allocations: 31.92 kB / 382.6 MB, free: 13.3 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.003337/0.01736, allocations: 485 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.01757, allocations: 79.53 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01757, allocations: 0 / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.161e-05/0.01766, allocations: 43.61 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.01801, allocations: 31.86 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.01852, allocations: 230 kB / 383.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.01863, allocations: 96.3 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.353e-05/0.01868, allocations: 25.39 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.01873, allocations: 16.5 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01873, allocations: 0 / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Templates: time 0.02376/0.04249, allocations: 1.868 MB / 385.5 MB, free: 10.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.13905643497128]