Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001142/0.001142, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001234/0.001234, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9803/0.9803, allocations: 177.1 MB / 206 MB, free: 4.5 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.1406/0.1406, allocations: 32.79 MB / 295.4 MB, free: 15.41 MB / 282.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.756e-05/4.035e-05, allocations: 9.297 kB / 377.4 MB, free: 25.54 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003662/0.003702, allocations: 1.743 MB / 379.1 MB, free: 23.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.00531, allocations: 0.9897 MB / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.005429, allocations: 11.94 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.005809, allocations: 39.77 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.006187, allocations: 103.4 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.006417, allocations: 75.66 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.006621, allocations: 115.6 kB / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.006736, allocations: 4 kB / 380.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.006848, allocations: 55.81 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.006937, allocations: 23.92 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.006956, allocations: 8 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-05/0.007054, allocations: 47.91 kB / 380.6 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.00711, allocations: 23.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.007146, allocations: 15.94 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.00733, allocations: 111.5 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.007333, allocations: 0 / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007335, allocations: 0 / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.007339, allocations: 0 / 380.7 MB, free: 22.16 MB / 314.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.0004343/0.007773, allocations: 439.9 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.007815, allocations: 15.98 kB / 381.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.007868, allocations: 24.83 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.008043, allocations: 153.1 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.008073, allocations: 4.375 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.008094, allocations: 384 / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.008241, allocations: 66.94 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.008255, allocations: 3.938 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.008265, allocations: 0 / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.008272, allocations: 0 / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.485e-05/0.008307, allocations: 11.98 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.008565, allocations: 264.3 kB / 381.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.008665, allocations: 51.11 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.008691, allocations: 23.67 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.008704, allocations: 0 / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.702e-05/0.008801, allocations: 64.98 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.008802, allocations: 0 / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004363/0.009238, allocations: 133.5 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.009265, allocations: 51.41 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.009386, allocations: 233.8 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.009398, allocations: 29.64 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.009441, allocations: 158.8 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.009469, allocations: 23.73 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.009508, allocations: 35.34 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.009574, allocations: 0.4962 MB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.009592, allocations: 8 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.009623, allocations: 31.34 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.256e-05/0.009676, allocations: 39.38 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.009677, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001164/0.009793, allocations: 97.44 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.009807, allocations: 12.03 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009813, allocations: 0 / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.009824, allocations: 0 / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.009896, allocations: 15.94 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.009901, allocations: 4 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.009941, allocations: 3.984 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.009948, allocations: 4 kB / 383.2 MB, free: 19.48 MB / 314.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 6.824e-05/0.01002, allocations: 164.6 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.01004, allocations: 15.84 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.01019, allocations: 111.6 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01019, allocations: 4 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.01019, allocations: 0 / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.0102, allocations: 0 / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.01046, allocations: 369.6 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01046, allocations: 0 / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.122e-05/0.01049, allocations: 8 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.0105, allocations: 0 / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.01051, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01051, allocations: 0 / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01051, allocations: 0 / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.01064, allocations: 255.4 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.01066, allocations: 7.953 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.01068, allocations: 11.98 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.03e-05/0.01074, allocations: 0 / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.01077, allocations: 7.984 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.01078, allocations: 7.938 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.222e-05/0.01084, allocations: 171.1 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01084, allocations: 0 / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.0111, allocations: 27.92 kB / 384.3 MB, free: 18.26 MB / 314.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.001179/0.01228, allocations: 431.2 kB / 384.7 MB, free: 18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.0124, allocations: 51.53 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0124, allocations: 0 / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.01244, allocations: 27.67 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.01276, allocations: 38.94 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.01314, allocations: 223.8 kB / 385.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.01318, allocations: 71.19 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.791e-05/0.01323, allocations: 25.09 kB / 385.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.0133, allocations: 90.19 kB / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0133, allocations: 0 / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of Templates: time 0.004468/0.01777, allocations: 2.058 MB / 387.3 MB, free: 15.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.2835690998472273]