Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.0009241/0.0009241, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001012/0.001012, allocations: 170.2 kB / 24.92 MB, free: 8.723 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.8944/0.8944, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1542/0.1542, allocations: 34.26 MB / 296.1 MB, free: 13.98 MB / 282.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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.3 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.706e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003703/0.00373, allocations: 1.64 MB / 326.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.00568, allocations: 1.286 MB / 328.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.005744, allocations: 0 / 328.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.005982, allocations: 31.78 kB / 328.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.006361, allocations: 83.55 kB / 328.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.006683, allocations: 95.62 kB / 328.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.006844, allocations: 63.78 kB / 328.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.006934, allocations: 15.98 kB / 328.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.432e-05/0.007018, allocations: 39.84 kB / 328.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.007136, allocations: 27.41 kB / 328.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.007156, allocations: 4 kB / 328.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.007356, allocations: 95.81 kB / 328.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.007406, allocations: 7.938 kB / 328.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.007441, allocations: 23.91 kB / 328.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.00772, allocations: 127.6 kB / 328.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.007724, allocations: 0 / 328.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.007725, allocations: 0 / 328.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.00773, allocations: 0 / 328.8 MB, free: 13.22 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004135/0.008144, allocations: 300.3 kB / 329.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.008181, allocations: 8.031 kB / 329.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.008219, allocations: 16.92 kB / 329.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.008389, allocations: 129.7 kB / 329.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.008399, allocations: 4.375 kB / 329.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.008422, allocations: 8.328 kB / 329.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.008571, allocations: 90.31 kB / 329.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.008582, allocations: 4.188 kB / 329.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.008591, allocations: 4.125 kB / 329.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.008596, allocations: 0 / 329.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.044e-05/0.008626, allocations: 15.98 kB / 329.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.008872, allocations: 155.2 kB / 329.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.009026, allocations: 34.5 kB / 329.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.009044, allocations: 8.859 kB / 329.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.009061, allocations: 0 / 329.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.009088, allocations: 30.56 kB / 329.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.00909, allocations: 3.984 kB / 329.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003426/0.009433, allocations: 97.52 kB / 329.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.009474, allocations: 77.11 kB / 329.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.009603, allocations: 155.7 kB / 329.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.009616, allocations: 25.7 kB / 329.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.009654, allocations: 84.14 kB / 330 MB, free: 11.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.009678, allocations: 19.89 kB / 330 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.009715, allocations: 17.7 kB / 330 MB, free: 11.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.009809, allocations: 318.8 kB / 330.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.009824, allocations: 3.984 kB / 330.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.009862, allocations: 47.42 kB / 330.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.009902, allocations: 24.72 kB / 330.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.009903, allocations: 0 / 330.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.101e-05/0.009984, allocations: 49.81 kB / 330.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.009998, allocations: 8.031 kB / 330.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01, allocations: 4.062 kB / 330.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.01002, allocations: 4 kB / 330.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.01008, allocations: 11.98 kB / 330.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-06/0.01009, allocations: 0 / 330.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.01012, allocations: 4 kB / 330.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.01012, allocations: 4 kB / 330.5 MB, free: 11.3 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 (5): * Single equations (assignments): 5 * 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.512e-05/0.0102, allocations: 112.6 kB / 330.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.01023, allocations: 11.92 kB / 330.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.01036, allocations: 62.14 kB / 330.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01037, allocations: 4 kB / 330.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01037, allocations: 3.984 kB / 330.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01037, allocations: 0 / 330.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.01067, allocations: 214.7 kB / 330.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01067, allocations: 3.938 kB / 330.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.01072, allocations: 8 kB / 330.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.01073, allocations: 0 / 330.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.01073, allocations: 4 kB / 330.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01074, allocations: 0 / 330.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01074, allocations: 0 / 330.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.01086, allocations: 147.5 kB / 331.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.01087, allocations: 7.938 kB / 331.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.01089, allocations: 0 / 331.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.01095, allocations: 7.922 kB / 331.1 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.01098, allocations: 4.188 kB / 331.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.01099, allocations: 8 kB / 331.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.984e-05/0.01103, allocations: 31.66 kB / 331.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01103, allocations: 0 / 331.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.01128, allocations: 35.92 kB / 331.2 MB, free: 10.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00128/0.01256, allocations: 0.6275 MB / 331.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.185e-05/0.01264, allocations: 20.84 kB / 331.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.01264, allocations: 0 / 331.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.622e-05/0.01266, allocations: 16.8 kB / 331.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.01281, allocations: 26.72 kB / 331.9 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.01308, allocations: 165.9 kB / 332 MB, free: 9.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.518e-05/0.01312, allocations: 59.34 kB / 332.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.01316, allocations: 24.22 kB / 332.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/0.01322, allocations: 63.36 kB / 332.2 MB, free: 9.816 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01323, allocations: 0 / 332.2 MB, free: 9.816 MB / 314.7 MB Notification: Performance of Templates: time 0.003484/0.01671, allocations: 1.995 MB / 334.2 MB, free: 7.836 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.050653863698244]