Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.0009175/0.0009175, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001096/0.001096, allocations: 166.4 kB / 25.61 MB, free: 8.594 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.9864/0.9864, allocations: 177.1 MB / 206 MB, free: 4.469 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.1507/0.1507, allocations: 32.81 MB / 295.4 MB, free: 15.39 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.CombiTable2Dv.Test28,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.054e-05, allocations: 6.188 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.00538/0.005401, allocations: 1.692 MB / 379 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000811/0.006212, allocations: 0.5685 MB / 379.6 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.00628, allocations: 0 / 379.6 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.006518, allocations: 55.73 kB / 379.6 MB, free: 23.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.006794, allocations: 103.5 kB / 379.7 MB, free: 23.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.00713, allocations: 179.4 kB / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.007283, allocations: 91.73 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.007379, allocations: 12.23 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.007453, allocations: 55.81 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.163e-05/0.007545, allocations: 47.88 kB / 380.1 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003029/0.01057, allocations: 4 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.01066, allocations: 47.92 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.01072, allocations: 27.91 kB / 380.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.01074, allocations: 19.92 kB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.01089, allocations: 103.5 kB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.01089, allocations: 0 / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.01089, allocations: 0 / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.01089, allocations: 0 / 380.3 MB, free: 22.58 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003311/0.01122, allocations: 459.9 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.01126, allocations: 11.98 kB / 380.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.01129, allocations: 12.89 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.0114, allocations: 140.4 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.01142, allocations: 8.312 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.01144, allocations: 384 / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.01154, allocations: 74.92 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.01155, allocations: 4.188 kB / 381 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.01156, allocations: 12.11 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.01157, allocations: 0 / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.0116, allocations: 8 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.01186, allocations: 280.2 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.01199, allocations: 51.03 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.01201, allocations: 15.67 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.01203, allocations: 4.031 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.01204, allocations: 45.33 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.01205, allocations: 0 / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005644/0.01261, allocations: 219.8 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.01263, allocations: 51.41 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/0.01273, allocations: 219.2 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.01273, allocations: 29.7 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.01278, allocations: 158.8 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.0128, allocations: 35.69 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.01285, allocations: 35.36 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.01291, allocations: 0.5 MB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.01293, allocations: 15.92 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.01296, allocations: 11.98 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.01301, allocations: 47.61 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01301, allocations: 0 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001056/0.01312, allocations: 85.91 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.01313, allocations: 4 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01313, allocations: 0 / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.01314, allocations: 4 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.01322, allocations: 32.48 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.01322, allocations: 0 / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.01325, allocations: 4 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.01326, allocations: 4 kB / 382.8 MB, free: 19.84 MB / 314.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 5.37e-05/0.01331, allocations: 164.5 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.01334, allocations: 15.91 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.01651, allocations: 115.1 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01651, allocations: 3.938 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01651, allocations: 4 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01652, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.01683, allocations: 389.2 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01683, allocations: 0 / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.01689, allocations: 23.92 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01689, allocations: 4 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.0169, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.0169, allocations: 4 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.0169, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.01703, allocations: 267.1 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.01704, allocations: 11.91 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.01706, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.01712, allocations: 7.984 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.01716, allocations: 15.92 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01716, allocations: 4 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.188e-05/0.01722, allocations: 168 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01722, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.01746, allocations: 23.94 kB / 384 MB, free: 18.55 MB / 314.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.0009574/0.01842, allocations: 441 kB / 384.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.01854, allocations: 51.61 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01855, allocations: 0 / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.01859, allocations: 43.53 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.01886, allocations: 24.8 kB / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.01923, allocations: 268 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.01927, allocations: 79.31 kB / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.002938/0.02221, allocations: 20.47 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.02228, allocations: 86.19 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02228, allocations: 0 / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of Templates: time 0.003389/0.02567, allocations: 1.822 MB / 386.8 MB, free: 15.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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.2449907809495926]