Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.002154/0.002154, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002879/0.002879, allocations: 161.7 kB / 24.27 MB, free: 172 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.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3336/0.3336, allocations: 32.79 MB / 293.9 MB, free: 1.211 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.753e-05, allocations: 6.312 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003067/0.003094, allocations: 1.65 MB / 376.9 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.004273, allocations: 0.5376 MB / 377.5 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.004334, allocations: 11.94 kB / 377.5 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.004642, allocations: 95.61 kB / 377.6 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.004969, allocations: 111.6 kB / 377.7 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.005335, allocations: 123.5 kB / 377.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.005557, allocations: 99.8 kB / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.005682, allocations: 19.89 kB / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.005788, allocations: 55.88 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.005922, allocations: 59.86 kB / 378 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.005948, allocations: 8 kB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.006063, allocations: 43.92 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.154e-05/0.006135, allocations: 35.84 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.006184, allocations: 19.92 kB / 378.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.006436, allocations: 131.5 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.006442, allocations: 4 kB / 378.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006443, allocations: 4 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.006448, allocations: 0 / 378.3 MB, free: 1.941 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006227/0.007071, allocations: 361.4 kB / 378.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.007113, allocations: 12.03 kB / 378.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.007185, allocations: 24.78 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.007416, allocations: 149.5 kB / 378.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.007432, allocations: 8.375 kB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.007462, allocations: 4.375 kB / 378.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.007653, allocations: 70.22 kB / 378.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.007666, allocations: 192 / 378.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.007688, allocations: 16.12 kB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.007694, allocations: 0 / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.007833, allocations: 47.89 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.008364, allocations: 284.3 kB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.008525, allocations: 62.5 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.008598, allocations: 24.84 kB / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.008622, allocations: 0 / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.008661, allocations: 34.56 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.008662, allocations: 4 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001211/0.009873, allocations: 341.6 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.009933, allocations: 55.41 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.01043, allocations: 235.6 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.01045, allocations: 29.7 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01056, allocations: 116 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.01061, allocations: 47.58 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.01066, allocations: 21.72 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.01084, allocations: 338.8 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.01097, allocations: 43.97 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.01109, allocations: 47.72 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.01132, allocations: 104.9 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01133, allocations: 8 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003262/0.01165, allocations: 157.5 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01167, allocations: 4 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01167, allocations: 0 / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.01169, allocations: 0 / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.01185, allocations: 31.98 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.01185, allocations: 0 / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.01191, allocations: 15.92 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.01192, allocations: 0 / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001493/0.01207, allocations: 141.8 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.01212, allocations: 19.84 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.01257, allocations: 183.1 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01257, allocations: 0 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.01258, allocations: 7.984 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01258, allocations: 0 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.01333, allocations: 438.8 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01334, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.01344, allocations: 31.92 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.01344, allocations: 3.984 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.01346, allocations: 3.938 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.01346, allocations: 4 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01346, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.01388, allocations: 251 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.0139, allocations: 19.89 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.01393, allocations: 11.97 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.01401, allocations: 4 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.01406, allocations: 15.92 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01408, allocations: 4 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000197/0.01427, allocations: 185.1 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01427, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002757/0.01455, allocations: 27.94 kB / 382.2 MB, free: 13.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.002228/0.01678, allocations: 493.8 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.01708, allocations: 111.9 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01708, allocations: 0 / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.01721, allocations: 55.91 kB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.01761, allocations: 30.39 kB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007227/0.01834, allocations: 336.1 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.01847, allocations: 108.9 kB / 383.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.624e-05/0.01857, allocations: 40.45 kB / 383.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.01863, allocations: 16.5 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01863, allocations: 0 / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of Templates: time 0.005161/0.02379, allocations: 1.628 MB / 385 MB, free: 11.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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: 4.933220384991728]