Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.0009825/0.0009825, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001051/0.001051, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.103/1.103, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2744/0.2744, allocations: 34.26 MB / 296 MB, free: 0.7812 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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.076e-05, allocations: 2.312 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003364/0.003395, allocations: 1.717 MB / 379.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.004507, allocations: 0.5686 MB / 380.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.805e-05/0.004605, allocations: 0 / 380.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.004907, allocations: 55.69 kB / 380.4 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.005232, allocations: 99.52 kB / 380.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.005685, allocations: 175.5 kB / 380.7 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.005884, allocations: 91.69 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.006015, allocations: 16.22 kB / 380.8 MB, free: 224 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.006105, allocations: 39.89 kB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.00622, allocations: 43.88 kB / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.006244, allocations: 4 kB / 380.8 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.006357, allocations: 51.92 kB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.491e-05/0.006442, allocations: 23.92 kB / 380.9 MB, free: 60 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.006486, allocations: 19.92 kB / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.006722, allocations: 107.6 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.006727, allocations: 0 / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.006728, allocations: 0 / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.006733, allocations: 0 / 381 MB, free: 15.93 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.0005596/0.007293, allocations: 436 kB / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.007343, allocations: 12.03 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.007405, allocations: 12.84 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.007608, allocations: 144.3 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.007622, allocations: 8.375 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.007649, allocations: 4.375 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.007825, allocations: 66.94 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.007837, allocations: 192 / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.007852, allocations: 8.125 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.007865, allocations: 7.984 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.007921, allocations: 11.98 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.008412, allocations: 307.6 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.008652, allocations: 50.98 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.008693, allocations: 19.84 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.008718, allocations: 4 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.008749, allocations: 37.39 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.008751, allocations: 0 / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009045/0.009655, allocations: 245.5 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.009698, allocations: 55.41 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.009867, allocations: 216 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.009882, allocations: 33.7 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.009953, allocations: 146.9 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.01, allocations: 47.58 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.01005, allocations: 27.38 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.01022, allocations: 0.5039 MB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-05/0.01026, allocations: 15.98 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/0.0103, allocations: 15.98 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.647e-05/0.0104, allocations: 51.89 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.0104, allocations: 0 / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001706/0.01057, allocations: 89.64 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.01059, allocations: 7.984 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.0106, allocations: 4 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01061, allocations: 0 / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01073, allocations: 27.92 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.01073, allocations: 0 / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.931e-05/0.01077, allocations: 4 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.01079, allocations: 8 kB / 383.6 MB, free: 13.14 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 9.11e-05/0.01088, allocations: 156.5 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.01092, allocations: 19.91 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.01117, allocations: 114.3 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01117, allocations: 8 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01118, allocations: 0 / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01118, allocations: 0 / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.01169, allocations: 408.7 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.0117, allocations: 3.984 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.054e-05/0.01179, allocations: 28.11 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01179, allocations: 0 / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.01181, allocations: 8 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.01181, allocations: 3.938 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01181, allocations: 4.062 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.01206, allocations: 267.1 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.01207, allocations: 7.953 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01209, allocations: 4 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.01217, allocations: 7.938 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.01222, allocations: 11.98 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.01223, allocations: 7.984 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.267e-05/0.01232, allocations: 154 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01232, allocations: 0 / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.01264, allocations: 31.92 kB / 384.8 MB, free: 11.82 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.001462/0.0141, allocations: 436 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.01428, allocations: 59.53 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.01428, allocations: 0 / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.193e-05/0.01434, allocations: 47.55 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.0147, allocations: 23.94 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/0.01523, allocations: 268.6 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.3e-05/0.0153, allocations: 79.27 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.352e-05/0.01538, allocations: 28.45 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.01543, allocations: 20.48 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01543, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of Templates: time 0.004258/0.01969, allocations: 1.663 MB / 387.5 MB, free: 9.336 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.3285828789230436]