Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001491/0.001491, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002079/0.00357, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001418/0.001418, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001826/0.003244, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.055/1.055, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1299/1.185, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2978/0.2978, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02813/0.326, allocations: 12.53 MB / 289.3 MB, free: 8.676 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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.382e-05, allocations: 3.188 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002321/0.002335, allocations: 1.694 MB / 292.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008487/0.003184, allocations: 0.5451 MB / 292.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.003249, allocations: 0 / 292.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.003439, allocations: 78.3 kB / 293 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.00366, allocations: 115.7 kB / 293.1 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.0039, allocations: 91.94 kB / 293.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.004064, allocations: 87.61 kB / 293.2 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.004163, allocations: 19.45 kB / 293.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.004285, allocations: 63.23 kB / 293.3 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.004384, allocations: 43.89 kB / 293.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.004399, allocations: 7.938 kB / 293.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.004488, allocations: 47.91 kB / 293.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.004534, allocations: 19.92 kB / 293.4 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.004564, allocations: 11.94 kB / 293.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.004736, allocations: 87.62 kB / 293.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.716e-05/0.004753, allocations: 0 / 293.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004753, allocations: 4 kB / 293.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.004769, allocations: 0 / 293.5 MB, free: 5.367 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.0004837/0.005253, allocations: 328.6 kB / 293.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.005291, allocations: 11.97 kB / 293.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.005324, allocations: 4.938 kB / 293.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.005492, allocations: 146.3 kB / 294 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.005503, allocations: 4.375 kB / 294 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.005523, allocations: 384 / 294 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.005639, allocations: 58.94 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.005653, allocations: 192 / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.00567, allocations: 8.125 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.005679, allocations: 4 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.34e-05/0.005712, allocations: 4 kB / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.005986, allocations: 175 kB / 294.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.933e-05/0.006045, allocations: 38.48 kB / 294.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.00606, allocations: 8.859 kB / 294.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.006083, allocations: 4 kB / 294.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.006108, allocations: 34.5 kB / 294.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.006109, allocations: 0 / 294.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004414/0.006551, allocations: 149.5 kB / 294.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.006583, allocations: 51.41 kB / 294.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.006709, allocations: 188.8 kB / 294.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.006719, allocations: 25.7 kB / 294.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.006757, allocations: 92.83 kB / 294.8 MB, free: 3.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.006784, allocations: 31.73 kB / 294.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.006813, allocations: 25.7 kB / 294.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.006899, allocations: 318.8 kB / 295.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.006913, allocations: 11.98 kB / 295.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.186e-05/0.006925, allocations: 4 kB / 295.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.006958, allocations: 37.05 kB / 295.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.006959, allocations: 0 / 295.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.033e-05/0.007019, allocations: 61.55 kB / 295.3 MB, free: 3.414 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.007032, allocations: 8 kB / 295.3 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007036, allocations: 0 / 295.3 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.007044, allocations: 0 / 295.3 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.007113, allocations: 23.98 kB / 295.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.007116, allocations: 0 / 295.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.007133, allocations: 4 kB / 295.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.007139, allocations: 4 kB / 295.4 MB, free: 3.375 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 (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 5.944e-05/0.007198, allocations: 112.7 kB / 295.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.00722, allocations: 23.86 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.007322, allocations: 67.14 kB / 295.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.007325, allocations: 0 / 295.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.007327, allocations: 3.984 kB / 295.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.007331, allocations: 0 / 295.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.007561, allocations: 251.5 kB / 295.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.007564, allocations: 0 / 295.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.007604, allocations: 19.98 kB / 295.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.007615, allocations: 11.91 kB / 295.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.007618, allocations: 4.031 kB / 295.8 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.007625, allocations: 4 kB / 295.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007626, allocations: 0 / 295.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.007627, allocations: 3.938 kB / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.305e-05/0.00772, allocations: 160.3 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.007735, allocations: 8 kB / 296 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.024e-05/0.007765, allocations: 0 / 296 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.007797, allocations: 7.984 kB / 296 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.007801, allocations: 0 / 296 MB, free: 2.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.602e-05/0.007847, allocations: 55.64 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007847, allocations: 4 kB / 296.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.00799, allocations: 23.94 kB / 296.1 MB, free: 2.562 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.001717/0.009707, allocations: 0.6428 MB / 296.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.706e-05/0.009794, allocations: 32.78 kB / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.009801, allocations: 3.984 kB / 296.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.788e-05/0.009829, allocations: 20.8 kB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.01004, allocations: 27.98 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.01053, allocations: 231.5 kB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.53e-05/0.01059, allocations: 67.34 kB / 297.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.01064, allocations: 21.08 kB / 297.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.0107, allocations: 55.38 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0107, allocations: 0 / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of Templates: time 0.003726/0.01442, allocations: 1.512 MB / 298.7 MB, free: 284 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.2976202564314008]