Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001306/0.001306, allocations: 80.8 kB / 21.49 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.001689/0.001689, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9648/0.9648, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2328/0.2328, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.Test30,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.827e-05, allocations: 3.781 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.001932/0.00195, allocations: 1.657 MB / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.002711, allocations: 0.5452 MB / 327.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.002761, allocations: 4 kB / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.002976, allocations: 71.7 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.003211, allocations: 115.5 kB / 327.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.003411, allocations: 111.6 kB / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.003533, allocations: 87.73 kB / 327.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.267e-05/0.003606, allocations: 16 kB / 327.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.939e-05/0.003666, allocations: 43.88 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.003748, allocations: 47.89 kB / 328 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.00376, allocations: 7.938 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.772e-05/0.003827, allocations: 51.91 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.003865, allocations: 19.92 kB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.003886, allocations: 15.94 kB / 328.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.004012, allocations: 91.59 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.004014, allocations: 0 / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004014, allocations: 0 / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.505e-06/0.004017, allocations: 0 / 328.1 MB, free: 4.766 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.0002832/0.0043, allocations: 314.1 kB / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.532e-05/0.004325, allocations: 11.97 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.00435, allocations: 12.92 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.004465, allocations: 143.4 kB / 328.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.004472, allocations: 8.375 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.00449, allocations: 4.375 kB / 328.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.496e-05/0.004565, allocations: 50.95 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004572, allocations: 192 / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.00458, allocations: 12.11 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.004584, allocations: 0 / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.955e-05/0.004604, allocations: 8 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.004793, allocations: 175 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.638e-05/0.004839, allocations: 37.45 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.004852, allocations: 8.844 kB / 328.9 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.004865, allocations: 8 kB / 328.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.004884, allocations: 34.5 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.004885, allocations: 0 / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003687/0.005253, allocations: 149.4 kB / 329.1 MB, free: 3.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.005279, allocations: 51.41 kB / 329.1 MB, free: 3.645 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.005382, allocations: 185.5 kB / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.005392, allocations: 29.7 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.005423, allocations: 100.1 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.005442, allocations: 23.75 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.00547, allocations: 25.7 kB / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.005536, allocations: 322.8 kB / 329.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.005549, allocations: 7.984 kB / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.00556, allocations: 4 kB / 329.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.005594, allocations: 31.66 kB / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.005594, allocations: 0 / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.153e-05/0.005666, allocations: 73.77 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.005675, allocations: 4 kB / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005679, allocations: 0 / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.00569, allocations: 0 / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.005742, allocations: 19.98 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.005745, allocations: 0 / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.005762, allocations: 4 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.005766, allocations: 0 / 330 MB, free: 2.781 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.044e-05/0.005817, allocations: 116.7 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.005837, allocations: 19.86 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.906e-05/0.005926, allocations: 75.11 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.005928, allocations: 4 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.00593, allocations: 0 / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.005932, allocations: 0 / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.006135, allocations: 251.5 kB / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006137, allocations: 0 / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.006169, allocations: 19.98 kB / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006172, allocations: 4 kB / 330.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.006176, allocations: 0 / 330.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.006177, allocations: 0 / 330.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.006179, allocations: 3.938 kB / 330.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.477e-05/0.006254, allocations: 168.2 kB / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.006262, allocations: 7.906 kB / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.006273, allocations: 12.03 kB / 330.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.006306, allocations: 3.984 kB / 330.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.006325, allocations: 4 kB / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.006328, allocations: 0 / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.802e-05/0.006366, allocations: 56.14 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006366, allocations: 0 / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000131/0.006497, allocations: 19.98 kB / 330.7 MB, free: 1.961 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.001371/0.007868, allocations: 0.5861 MB / 331.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.526e-05/0.007944, allocations: 36.77 kB / 331.3 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.007948, allocations: 4 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.215e-05/0.00797, allocations: 20.8 kB / 331.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.008112, allocations: 19.98 kB / 331.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.00839, allocations: 231.7 kB / 331.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.008427, allocations: 71.33 kB / 331.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.113e-05/0.008458, allocations: 13.03 kB / 331.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.008505, allocations: 55.38 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008506, allocations: 0 / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of Templates: time 0.002735/0.01124, allocations: 1.533 MB / 333.3 MB, free: 15.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.8531065559946]