Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.00128/0.00128, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.001437/0.001437, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9874/0.9874, allocations: 177.1 MB / 205 MB, free: 5.59 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.2965/0.2965, allocations: 34.25 MB / 295.7 MB, free: 0.7461 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.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.212e-05, allocations: 2.312 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002772/0.002805, allocations: 1.714 MB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007113/0.003516, allocations: 0.8025 MB / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.003562, allocations: 0 / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.003845, allocations: 27.8 kB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.004077, allocations: 47.75 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.337e-06/0.00408, allocations: 0 / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.004234, allocations: 39.83 kB / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.004268, allocations: 0 / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.004362, allocations: 12.03 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.501e-05/0.004387, allocations: 15.86 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.004399, allocations: 4 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.678e-05/0.004445, allocations: 16 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.004489, allocations: 11.94 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.004517, allocations: 11.94 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.00465, allocations: 55.7 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.004653, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.004655, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.00466, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003482/0.005008, allocations: 388.4 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.00505, allocations: 8.031 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.005106, allocations: 16.81 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.005276, allocations: 132.5 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.005287, allocations: 384 / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.005297, allocations: 4.375 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.005473, allocations: 112.3 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.005483, allocations: 192 / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.005498, allocations: 4.359 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/0.005556, allocations: 24.36 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/0.005606, allocations: 31.86 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.006229, allocations: 1.2 MB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.775e-05/0.006327, allocations: 269.5 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.006362, allocations: 126.9 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.006388, allocations: 123.2 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.006441, allocations: 160.6 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.006442, allocations: 0 / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.721e-05/0.006509, allocations: 41.59 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.00657, allocations: 170.6 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.006729, allocations: 251 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.006738, allocations: 29.64 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.006822, allocations: 206.2 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-06/0.006826, allocations: 4 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.006873, allocations: 51.31 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.007001, allocations: 0.5001 MB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.007024, allocations: 12 kB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/0.007118, allocations: 196.1 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.007256, allocations: 229.4 kB / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.00726, allocations: 0 / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002088/0.007469, allocations: 173.8 kB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.007484, allocations: 4 kB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.007493, allocations: 12.03 kB / 385.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.007509, allocations: 7.938 kB / 385.2 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.0076, allocations: 39.92 kB / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.00761, allocations: 12 kB / 385.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.007663, allocations: 19.84 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.007674, allocations: 15.94 kB / 385.3 MB, free: 10.94 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 9.823e-05/0.007772, allocations: 295.6 kB / 385.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.007825, allocations: 156.8 kB / 385.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.007875, allocations: 156.7 kB / 385.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-05/0.007937, allocations: 275.9 kB / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-05/0.008009, allocations: 268.2 kB / 386.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.886e-05/0.008088, allocations: 272.1 kB / 386.7 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.008322, allocations: 0.5115 MB / 387.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.785e-05/0.00836, allocations: 148.9 kB / 387.4 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.008393, allocations: 148.8 kB / 387.5 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.383e-05/0.008457, allocations: 268.1 kB / 387.8 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.967e-05/0.008527, allocations: 268.1 kB / 388 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.164e-05/0.008588, allocations: 268 kB / 388.3 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.335e-05/0.008662, allocations: 272 kB / 388.6 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.008808, allocations: 455.9 kB / 389 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.008853, allocations: 156.8 kB / 389.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.209e-05/0.008925, allocations: 276 kB / 389.4 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.863e-05/0.008984, allocations: 144.9 kB / 389.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.009061, allocations: 272 kB / 389.8 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.0091, allocations: 148.9 kB / 390 MB, free: 6.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.98e-05/0.009179, allocations: 159.2 kB / 390.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.00918, allocations: 0 / 390.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.00937, allocations: 12 kB / 390.1 MB, free: 5.91 MB / 362.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 (0): * Single equations (assignments): 0 * 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.0004578/0.009828, allocations: 304.4 kB / 390.4 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.009971, allocations: 71.92 kB / 390.5 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.009973, allocations: 0 / 390.5 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.009975, allocations: 0 / 390.5 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.01031, allocations: 0.7178 MB / 391.2 MB, free: 4.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.01065, allocations: 277.3 kB / 391.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.56e-05/0.01069, allocations: 67.83 kB / 391.6 MB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.211e-05/0.01079, allocations: 49.89 kB / 391.6 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.01082, allocations: 12.5 kB / 391.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01082, allocations: 0 / 391.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of Templates: time 0.00264/0.01346, allocations: 0.7693 MB / 392.4 MB, free: 3.645 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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.2085272232070565]