Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001078/0.001078, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001135/0.001135, allocations: 170 kB / 24.91 MB, free: 9.227 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.9335/0.9335, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2856/0.2856, allocations: 34.26 MB / 296.1 MB, free: 0.6992 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.CombiTable1Dv.Test25_usertab,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.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,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.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 325.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.935e-05, allocations: 3.188 kB / 325.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002924/0.002943, allocations: 1.636 MB / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003952, allocations: 0.5646 MB / 327.5 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.004007, allocations: 0 / 327.5 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.00422, allocations: 23.8 kB / 327.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.004515, allocations: 83.55 kB / 327.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.004843, allocations: 119.6 kB / 327.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.004992, allocations: 71.77 kB / 327.8 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.739e-05/0.00507, allocations: 11.98 kB / 327.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.112e-05/0.005141, allocations: 31.91 kB / 327.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.005221, allocations: 27.91 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.005236, allocations: 4 kB / 327.8 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.005407, allocations: 99.75 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.00545, allocations: 15.92 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.005478, allocations: 12.48 kB / 328 MB, free: 5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.005723, allocations: 135.5 kB / 328.1 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.005726, allocations: 4 kB / 328.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005726, allocations: 0 / 328.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.00573, allocations: 3.938 kB / 328.1 MB, free: 4.859 MB / 298.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.0003681/0.006098, allocations: 317.6 kB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.006129, allocations: 8.031 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.006163, allocations: 8.922 kB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.006317, allocations: 125.7 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.006326, allocations: 384 / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.006348, allocations: 4.375 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.006477, allocations: 98.36 kB / 328.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.006488, allocations: 12.08 kB / 328.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.0065, allocations: 12.11 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.006506, allocations: 0 / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.662e-05/0.006532, allocations: 7.984 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.006819, allocations: 171.1 kB / 328.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.566e-05/0.006884, allocations: 37.31 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.006906, allocations: 12.92 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.006921, allocations: 4 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.006944, allocations: 30.56 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.006945, allocations: 4 kB / 328.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003373/0.007283, allocations: 101.6 kB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.007324, allocations: 81.11 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.007467, allocations: 150.5 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.007481, allocations: 25.7 kB / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.007519, allocations: 88.12 kB / 329.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.007544, allocations: 27.78 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.007581, allocations: 17.7 kB / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.007669, allocations: 322.8 kB / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.007692, allocations: 10.81 kB / 329.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.163e-05/0.007733, allocations: 51.41 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.007789, allocations: 34.44 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.00779, allocations: 0 / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.677e-05/0.007887, allocations: 64.42 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.007899, allocations: 4 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.007904, allocations: 4 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.007918, allocations: 0 / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.008004, allocations: 15.98 kB / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.008007, allocations: 0 / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.008042, allocations: 11.94 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.008049, allocations: 32 / 329.9 MB, free: 2.84 MB / 298.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 (8): * Single equations (assignments): 8 * 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 6.843e-05/0.008117, allocations: 116.6 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.008152, allocations: 19.92 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.008274, allocations: 62.75 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.008276, allocations: 0 / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.008278, allocations: 0 / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.008281, allocations: 0 / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.008606, allocations: 282.5 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.008608, allocations: 0 / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.008669, allocations: 15.98 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.008671, allocations: 4 kB / 330.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.008679, allocations: 8 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.008682, allocations: 0 / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008683, allocations: 0 / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.008804, allocations: 155.4 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.008819, allocations: 7.953 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.008834, allocations: 0 / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.008904, allocations: 8 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.00893, allocations: 7.984 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.008935, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.956e-05/0.008985, allocations: 32.59 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.008985, allocations: 4 kB / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000287/0.009272, allocations: 47.86 kB / 330.7 MB, free: 2.023 MB / 298.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.001865/0.01114, allocations: 0.6304 MB / 331.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.01125, allocations: 36.77 kB / 331.3 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.01125, allocations: 4 kB / 331.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.167e-05/0.01128, allocations: 16.84 kB / 331.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.0115, allocations: 23.92 kB / 331.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.01183, allocations: 186.8 kB / 331.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.01187, allocations: 63.34 kB / 331.6 MB, free: 1.332 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.543e-05/0.01193, allocations: 17.02 kB / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/0.01201, allocations: 67.36 kB / 331.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01201, allocations: 0 / 331.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of Templates: time 0.004747/0.01676, allocations: 2.212 MB / 333.9 MB, free: 15.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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: 2.9266031812876463]