Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001155/0.001155, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00142/0.00142, allocations: 161 kB / 24.56 MB, free: 16 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.9858/0.9858, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2785/0.2785, allocations: 34.27 MB / 295.7 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.055e-05, allocations: 9.344 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.005407/0.005427, allocations: 1.72 MB / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007869/0.006214, allocations: 0.5452 MB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.006261, allocations: 4 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.009508, allocations: 47.73 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.009781, allocations: 99.47 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.01004, allocations: 131.6 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.0102, allocations: 87.7 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.01029, allocations: 16.2 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.01036, allocations: 43.91 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.01045, allocations: 43.88 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.01047, allocations: 4 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.304e-05/0.01056, allocations: 51.92 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.01063, allocations: 23.91 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.01065, allocations: 11.94 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.01082, allocations: 99.53 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.01082, allocations: 4 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01082, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.01083, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004361/0.01126, allocations: 432 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.0113, allocations: 8.031 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.01136, allocations: 16.84 kB / 381.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.01151, allocations: 152.1 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.01152, allocations: 8.375 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.01154, allocations: 4.375 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.01167, allocations: 66.69 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.01168, allocations: 0 / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.01169, allocations: 0 / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.0117, allocations: 4 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.26e-05/0.01175, allocations: 19.92 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.01207, allocations: 291.7 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.01225, allocations: 55.08 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.01228, allocations: 19.81 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.01229, allocations: 0 / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.01232, allocations: 37.39 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.01232, allocations: 0 / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000646/0.01296, allocations: 249.5 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.01299, allocations: 51.41 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.01313, allocations: 220.9 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.01314, allocations: 29.7 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.01448, allocations: 158.7 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.01452, allocations: 35.69 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.01456, allocations: 27.38 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.01469, allocations: 0.4962 MB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.01472, allocations: 15.98 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.01475, allocations: 8 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.01482, allocations: 55.61 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.01482, allocations: 0 / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00013/0.01495, allocations: 89.59 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.01497, allocations: 8 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.01497, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.01498, allocations: 4 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.01506, allocations: 23.92 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01506, allocations: 0 / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.0151, allocations: 11.92 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.01511, allocations: 8 kB / 383.6 MB, free: 12.9 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 (11): * Single equations (assignments): 11 * 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.865e-05/0.01518, allocations: 156.6 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.01522, allocations: 11.95 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.01539, allocations: 114.8 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01539, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01539, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.0154, allocations: 7.922 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.01577, allocations: 412.6 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01577, allocations: 0 / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-05/0.01583, allocations: 19.98 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01584, allocations: 4 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.01585, allocations: 3.938 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.01585, allocations: 8.25 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01585, allocations: 4 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.01603, allocations: 267.2 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.01604, allocations: 11.91 kB / 384.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.01605, allocations: 3.938 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.01612, allocations: 7.984 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.01616, allocations: 11.98 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.01616, allocations: 4 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.671e-05/0.01624, allocations: 165.5 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01624, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000251/0.01649, allocations: 27.94 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001037/0.01753, allocations: 432.5 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.01768, allocations: 59.53 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.01768, allocations: 4 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.01772, allocations: 39.61 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.01793, allocations: 15.98 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.01831, allocations: 261.7 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.01835, allocations: 71.33 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.624e-05/0.01839, allocations: 12.48 kB / 385.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.01842, allocations: 16.5 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01842, allocations: 4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of Templates: time 0.003289/0.02171, allocations: 1.703 MB / 387.4 MB, free: 9.098 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.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.1611927789635956]