Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001489/0.001489, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001304/0.001304, allocations: 168.5 kB / 24.99 MB, free: 8.344 MB / 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2527/0.2527, allocations: 32.81 MB / 294.6 MB, free: 1.301 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 376.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.201e-05, allocations: 2.312 kB / 376.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003572/0.003604, allocations: 1.758 MB / 377.8 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.005378, allocations: 0.9975 MB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.409e-05/0.005472, allocations: 8 kB / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.005826, allocations: 39.75 kB / 378.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.006209, allocations: 103.4 kB / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.006464, allocations: 75.67 kB / 379.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.006691, allocations: 107.6 kB / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.006813, allocations: 4 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.006947, allocations: 59.81 kB / 379.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.007047, allocations: 23.92 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.007075, allocations: 4 kB / 379.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.007195, allocations: 51.86 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.007273, allocations: 23.91 kB / 379.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.007326, allocations: 23.86 kB / 379.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.007565, allocations: 95.66 kB / 379.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.00757, allocations: 4 kB / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.007572, allocations: 0 / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.007577, allocations: 0 / 379.5 MB, free: 1.496 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.0006232/0.0082, allocations: 447.9 kB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.008245, allocations: 8.031 kB / 379.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.008303, allocations: 16.84 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.008534, allocations: 161 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.008555, allocations: 384 / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.008579, allocations: 8.375 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.008763, allocations: 62.94 kB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.008776, allocations: 3.938 kB / 380.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.00879, allocations: 3.984 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.0088, allocations: 0 / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.118e-05/0.008851, allocations: 15.92 kB / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.009277, allocations: 287.7 kB / 380.5 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.009431, allocations: 51.17 kB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.009479, allocations: 31.61 kB / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.009493, allocations: 0 / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.009638, allocations: 65.05 kB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.00964, allocations: 0 / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005265/0.01017, allocations: 157.4 kB / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.01022, allocations: 51.52 kB / 380.8 MB, free: 16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.01042, allocations: 242.3 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.01043, allocations: 29.7 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.01051, allocations: 150.9 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.01055, allocations: 27.8 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.0106, allocations: 31.36 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.01075, allocations: 0.4962 MB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.01112, allocations: 8 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.642e-05/0.01118, allocations: 35.36 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.279e-05/0.01127, allocations: 51.3 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.01127, allocations: 3.938 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.01144, allocations: 89.59 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.01146, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.01147, allocations: 8.031 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.01148, allocations: 0 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.01159, allocations: 19.92 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.0116, allocations: 0 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.01165, allocations: 4 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.01166, allocations: 4 kB / 382 MB, free: 14.73 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 9.921e-05/0.01176, allocations: 160.5 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.01179, allocations: 11.95 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.01202, allocations: 111.2 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.01202, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01203, allocations: 4 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01203, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.01247, allocations: 404.9 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.01247, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.01252, allocations: 8 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01252, allocations: 3.828 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.01253, allocations: 4 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01254, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01254, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.01277, allocations: 255.4 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.01279, allocations: 19.94 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.01281, allocations: 7.984 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.01289, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.01294, allocations: 11.92 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.01296, allocations: 8.375 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.01307, allocations: 168.1 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01307, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.01338, allocations: 31.92 kB / 383.2 MB, free: 13.47 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.00145/0.01483, allocations: 446.3 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.015, allocations: 51.59 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.015, allocations: 0 / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.583e-05/0.01507, allocations: 31.61 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.01545, allocations: 35.95 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.01599, allocations: 218 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.89e-05/0.01605, allocations: 67.33 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.01611, allocations: 21.41 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.01615, allocations: 16.48 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01616, allocations: 4 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of Templates: time 0.005398/0.02155, allocations: 1.866 MB / 385.9 MB, free: 10.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.2713754570577294]