Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001533/0.001533, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001698/0.001698, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2777/0.2777, allocations: 34.27 MB / 296.1 MB, free: 0.6484 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.291e-05, allocations: 5.266 kB / 378.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002136/0.002159, allocations: 1.626 MB / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.003354, allocations: 1.286 MB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.003409, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.003587, allocations: 23.8 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.003864, allocations: 87.55 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.004128, allocations: 115.5 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.004249, allocations: 71.78 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.742e-05/0.004327, allocations: 11.97 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.004381, allocations: 35.92 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.004463, allocations: 23.91 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.004476, allocations: 4 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.004618, allocations: 91.81 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.004654, allocations: 15.92 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.004674, allocations: 8 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.004855, allocations: 135.5 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004857, allocations: 3.938 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004858, allocations: 8 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.004861, allocations: 0 / 382.1 MB, free: 14.79 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003294/0.005191, allocations: 428 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.005227, allocations: 8.031 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.005255, allocations: 8.891 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.005363, allocations: 140.4 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-06/0.00537, allocations: 4.375 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.005386, allocations: 4.375 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.005489, allocations: 99.95 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.005497, allocations: 192 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.005504, allocations: 8.125 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.005509, allocations: 7.984 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.005529, allocations: 11.98 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.005746, allocations: 252.4 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.005862, allocations: 39 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.00588, allocations: 15.77 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.005898, allocations: 4 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.005917, allocations: 37.33 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.005918, allocations: 0 / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002622/0.006181, allocations: 85.5 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.006214, allocations: 85.11 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006317, allocations: 196.2 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.006329, allocations: 25.7 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.006384, allocations: 150.8 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.006403, allocations: 11.89 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.006436, allocations: 31.36 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.006556, allocations: 0.4884 MB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.006569, allocations: 4 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.515e-05/0.006604, allocations: 49.08 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.006638, allocations: 27.61 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.00664, allocations: 4.219 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.951e-05/0.006709, allocations: 57.59 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.00672, allocations: 8 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.006725, allocations: 3.984 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.006733, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.116e-05/0.006774, allocations: 8 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.006777, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.0068, allocations: 7.938 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.006806, allocations: 7.984 kB / 384.3 MB, free: 12.27 MB / 362.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 (5): * Single equations (assignments): 5 * 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.086e-05/0.006867, allocations: 156.6 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.006887, allocations: 19.83 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.006988, allocations: 66.08 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.00699, allocations: 3.984 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.006993, allocations: 4 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006996, allocations: 0 / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.007208, allocations: 298 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007209, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.007239, allocations: 19.98 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007241, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.007246, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.007247, allocations: 4 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007248, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.821e-05/0.007346, allocations: 204.1 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.007357, allocations: 7.953 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.007369, allocations: 4 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.007402, allocations: 11.98 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.00742, allocations: 0 / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.007425, allocations: 4 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.188e-05/0.007477, allocations: 147.1 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007477, allocations: 4 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.007658, allocations: 35.88 kB / 385.3 MB, free: 11.23 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 (5): * Single equations (assignments): 5 * 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.0009155/0.008574, allocations: 487.2 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.548e-05/0.008649, allocations: 23.67 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.008651, allocations: 0 / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.008675, allocations: 27.62 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.008866, allocations: 31.84 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.009165, allocations: 170.1 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.251e-05/0.009207, allocations: 66.39 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.366e-05/0.009251, allocations: 12 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.009327, allocations: 90.17 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.009329, allocations: 0 / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Templates: time 0.003833/0.01316, allocations: 2.039 MB / 388.2 MB, free: 8.438 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.523627682123333]