Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001111/0.001111, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001543/0.001543, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.048/1.048, allocations: 158.6 MB / 186 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1495/0.1495, allocations: 32.37 MB / 270.7 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.408e-06/4.408e-06, allocations: 3.984 kB / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.217e-05/4.658e-05, allocations: 12.16 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.004953/0.004999, allocations: 1.649 MB / 349.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.006167, allocations: 343.2 kB / 349.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.00629, allocations: 0 / 349.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004761/0.006766, allocations: 47.77 kB / 349.7 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.007119, allocations: 55.69 kB / 349.8 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.007697, allocations: 151.6 kB / 349.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.007983, allocations: 75.75 kB / 350 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.00817, allocations: 15.98 kB / 350 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.00832, allocations: 43.84 kB / 350 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.008475, allocations: 31.89 kB / 350.1 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.008506, allocations: 4 kB / 350.1 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.008638, allocations: 35.92 kB / 350.1 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.008761, allocations: 27.91 kB / 350.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.008816, allocations: 8 kB / 350.2 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.009102, allocations: 79.67 kB / 350.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.009109, allocations: 0 / 350.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.009112, allocations: 0 / 350.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.009121, allocations: 0 / 350.2 MB, free: 7.199 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006364/0.009757, allocations: 436 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.00982, allocations: 8.031 kB / 350.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.0099, allocations: 8.891 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.01013, allocations: 136.5 kB / 350.8 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.01015, allocations: 4.375 kB / 350.8 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.01019, allocations: 8.375 kB / 350.8 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.01041, allocations: 58.94 kB / 350.9 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.01043, allocations: 192 / 350.9 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.01045, allocations: 8.125 kB / 350.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.01046, allocations: 0 / 350.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.704e-05/0.01052, allocations: 15.92 kB / 350.9 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.01106, allocations: 291.7 kB / 351.2 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.01119, allocations: 35.05 kB / 351.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.01124, allocations: 23.62 kB / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.01127, allocations: 0 / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.01131, allocations: 41.33 kB / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.01131, allocations: 3.938 kB / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006917/0.012, allocations: 125.8 kB / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.01204, allocations: 51.41 kB / 351.5 MB, free: 5.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.01221, allocations: 209.8 kB / 351.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.01223, allocations: 25.7 kB / 351.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.01229, allocations: 150.8 kB / 351.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.01233, allocations: 23.8 kB / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.01239, allocations: 31.36 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.01248, allocations: 0.4922 MB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.01252, allocations: 7.984 kB / 352.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.01255, allocations: 12 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.787e-05/0.01262, allocations: 31.98 kB / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01262, allocations: 0 / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001457/0.01277, allocations: 73.56 kB / 352.5 MB, free: 4.715 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.0128, allocations: 8 kB / 352.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.01281, allocations: 0 / 352.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.01283, allocations: 0 / 352.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.013, allocations: 23.97 kB / 352.5 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.01301, allocations: 0 / 352.5 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.01305, allocations: 7.984 kB / 352.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.01307, allocations: 4 kB / 352.5 MB, free: 4.672 MB / 282.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 (7): * Single equations (assignments): 7 * 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 8.956e-05/0.01316, allocations: 160.5 kB / 352.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.0132, allocations: 11.91 kB / 352.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.01341, allocations: 86.39 kB / 352.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.01342, allocations: 0 / 352.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.01342, allocations: 0 / 352.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.01343, allocations: 0 / 352.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.01384, allocations: 341.4 kB / 353.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.01384, allocations: 0 / 353.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.181e-05/0.01393, allocations: 23.92 kB / 353.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.01394, allocations: 4 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01395, allocations: 0 / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.01395, allocations: 0 / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01396, allocations: 0 / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.01415, allocations: 219.8 kB / 353.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.01417, allocations: 11.94 kB / 353.4 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.01419, allocations: 0 / 353.4 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.01426, allocations: 8 kB / 353.4 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.01432, allocations: 11.98 kB / 353.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01433, allocations: 3.938 kB / 353.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.564e-05/0.01441, allocations: 155.2 kB / 353.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01441, allocations: 3.938 kB / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.01468, allocations: 12 kB / 353.6 MB, free: 3.566 MB / 282.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 (7): * Single equations (assignments): 7 * 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.001403/0.01609, allocations: 387 kB / 354 MB, free: 3.273 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.01628, allocations: 35.67 kB / 354 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.01628, allocations: 0 / 354 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.388e-05/0.01633, allocations: 27.77 kB / 354 MB, free: 3.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.01675, allocations: 21.19 kB / 354 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.01745, allocations: 214.2 kB / 354.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.092e-05/0.01751, allocations: 67.34 kB / 354.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.01761, allocations: 19.97 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.01767, allocations: 12.5 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of SimCode: time 1.864e-06/0.01767, allocations: 0 / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of Templates: time 0.005312/0.02298, allocations: 1.342 MB / 355.7 MB, free: 1.496 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5372791648842394]