Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001036/0.001036, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.00122/0.00122, allocations: 168.7 kB / 24.91 MB, free: 9.148 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.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.2826/0.2826, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.936e-05, allocations: 2.312 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002502/0.002522, allocations: 1.712 MB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009147/0.003436, allocations: 0.5335 MB / 327.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.003483, allocations: 4 kB / 327.6 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.003692, allocations: 79.64 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.003889, allocations: 103.5 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.004062, allocations: 95.62 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.004188, allocations: 84.38 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.004261, allocations: 15.98 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.897e-05/0.00432, allocations: 39.89 kB / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.004401, allocations: 47.89 kB / 328 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.004412, allocations: 4 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.716e-05/0.00448, allocations: 51.91 kB / 328.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.004516, allocations: 19.92 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.004536, allocations: 11.94 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.004671, allocations: 95.59 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.004673, allocations: 0 / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004674, allocations: 0 / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.004677, allocations: 0 / 328.2 MB, free: 4.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002767/0.004954, allocations: 317.6 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.004981, allocations: 12.02 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.005004, allocations: 4.938 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.005123, allocations: 143.4 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.005132, allocations: 16.31 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.005146, allocations: 384 / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.347e-05/0.005219, allocations: 58.88 kB / 328.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.005226, allocations: 4.188 kB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.005233, allocations: 8.125 kB / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.005237, allocations: 0 / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.951e-05/0.005256, allocations: 8 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.005448, allocations: 167 kB / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.123e-05/0.005489, allocations: 42.56 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.202e-05/0.005501, allocations: 8.859 kB / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.005513, allocations: 4 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.005529, allocations: 34.5 kB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.00553, allocations: 0 / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003615/0.005892, allocations: 138.1 kB / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.005914, allocations: 51.41 kB / 329.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.006013, allocations: 185.5 kB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.006024, allocations: 33.69 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.006053, allocations: 100 kB / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.006075, allocations: 23.8 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.006102, allocations: 25.7 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.006186, allocations: 322.8 kB / 329.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.006197, allocations: 7.984 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.006208, allocations: 7.984 kB / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.00624, allocations: 29.06 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006241, allocations: 0 / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.103e-05/0.006302, allocations: 65.61 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.006312, allocations: 4 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006316, allocations: 3.938 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.006324, allocations: 0 / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.006381, allocations: 19.98 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.006384, allocations: 4 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.006401, allocations: 7.938 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.006406, allocations: 0 / 330 MB, free: 2.75 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 5.247e-05/0.006459, allocations: 116.7 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.006478, allocations: 15.86 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.206e-05/0.00657, allocations: 79.06 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.006572, allocations: 432 / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.006573, allocations: 0 / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.006577, allocations: 3.984 kB / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.006781, allocations: 247.5 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006782, allocations: 0 / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.006817, allocations: 19.98 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.006819, allocations: 0 / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.006824, allocations: 3.984 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006825, allocations: 0 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.006827, allocations: 4 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.885e-05/0.006906, allocations: 168.2 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.006915, allocations: 11.91 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-06/0.006925, allocations: 4.031 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.38e-05/0.006959, allocations: 4 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.006985, allocations: 3.984 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.00699, allocations: 8 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.898e-05/0.007029, allocations: 48.14 kB / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007029, allocations: 0 / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.007174, allocations: 16 kB / 330.8 MB, free: 1.941 MB / 298.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.001137/0.008311, allocations: 0.5751 MB / 331.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.079e-05/0.008382, allocations: 40.7 kB / 331.4 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.008386, allocations: 4 kB / 331.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.166e-05/0.008408, allocations: 24.78 kB / 331.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.008564, allocations: 23.98 kB / 331.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.008832, allocations: 223.7 kB / 331.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.008868, allocations: 67.28 kB / 331.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.17e-05/0.0089, allocations: 17.02 kB / 331.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.046e-05/0.00899, allocations: 59.38 kB / 331.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008991, allocations: 0 / 331.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of Templates: time 0.002878/0.01187, allocations: 1.497 MB / 333.3 MB, free: 15.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.8958664680831134]