Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.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.004292/0.004292, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001504/0.001504, allocations: 173 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.042/1.042, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1552/0.1552, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 3.938 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.017e-05, allocations: 2.312 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002607/0.002637, allocations: 1.73 MB / 349.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.003691, allocations: 0.7842 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.003793, allocations: 8 kB / 350.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.004139, allocations: 43.77 kB / 350.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.004373, allocations: 47.7 kB / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.004629, allocations: 91.69 kB / 350.9 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.004782, allocations: 95.64 kB / 351 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.004886, allocations: 8.219 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.583e-05/0.004982, allocations: 55.83 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.665e-05/0.005059, allocations: 23.92 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.005079, allocations: 8 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-05/0.005167, allocations: 39.92 kB / 351.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.005219, allocations: 27.84 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.005257, allocations: 19.92 kB / 351.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.00544, allocations: 99.59 kB / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.005445, allocations: 0 / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005447, allocations: 0 / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005451, allocations: 0 / 351.3 MB, free: 6 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003849/0.005836, allocations: 443.9 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.005875, allocations: 8.031 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.005913, allocations: 12.89 kB / 351.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.00604, allocations: 148.4 kB / 351.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.006056, allocations: 4.375 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.006073, allocations: 4.328 kB / 351.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.006184, allocations: 66.88 kB / 351.9 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.006194, allocations: 3.938 kB / 351.9 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.006201, allocations: 3.938 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.006207, allocations: 0 / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.006231, allocations: 11.98 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.006476, allocations: 252.4 kB / 352.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.153e-05/0.006558, allocations: 59.17 kB / 352.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.006577, allocations: 15.69 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.006593, allocations: 7.969 kB / 352.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.33e-05/0.006676, allocations: 72.97 kB / 352.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.006678, allocations: 0 / 352.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000312/0.00699, allocations: 133.4 kB / 352.5 MB, free: 4.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.007008, allocations: 51.41 kB / 352.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.007089, allocations: 216 kB / 352.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.007098, allocations: 33.7 kB / 352.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.007134, allocations: 150.8 kB / 352.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.007164, allocations: 35.77 kB / 353 MB, free: 4.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.007198, allocations: 31.36 kB / 353 MB, free: 4.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.00725, allocations: 0.4923 MB / 353.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.007266, allocations: 11.98 kB / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.007289, allocations: 31.3 kB / 353.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.007331, allocations: 47.36 kB / 353.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007332, allocations: 0 / 353.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.72e-05/0.007429, allocations: 85.55 kB / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.007443, allocations: 8.031 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007448, allocations: 80 / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.007462, allocations: 4 kB / 353.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.007528, allocations: 19.98 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.007532, allocations: 3.984 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.007566, allocations: 4 kB / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.007572, allocations: 0 / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.226e-05/0.007634, allocations: 168.5 kB / 353.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.00765, allocations: 23.83 kB / 353.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.00778, allocations: 94.39 kB / 354 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.007783, allocations: 4 kB / 354 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007785, allocations: 0 / 354 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.007789, allocations: 3.984 kB / 354 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.008008, allocations: 357.6 kB / 354.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.008011, allocations: 3.938 kB / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.008038, allocations: 8 kB / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.00804, allocations: 0 / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.008048, allocations: 8.375 kB / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.008051, allocations: 3.984 kB / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.008053, allocations: 4 kB / 354.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.008156, allocations: 259.4 kB / 354.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.00817, allocations: 7.953 kB / 354.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.008188, allocations: 4 kB / 354.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.008231, allocations: 0 / 354.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.008257, allocations: 11.98 kB / 354.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.008269, allocations: 4 kB / 354.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.273e-05/0.008311, allocations: 160 kB / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008311, allocations: 0 / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000191/0.008502, allocations: 27.92 kB / 354.8 MB, free: 2.145 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001233/0.009735, allocations: 437.6 kB / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.009858, allocations: 51.55 kB / 355.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.009861, allocations: 0 / 355.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.009894, allocations: 31.81 kB / 355.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.01015, allocations: 35.95 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.01059, allocations: 217.3 kB / 355.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.328e-05/0.01063, allocations: 71.47 kB / 355.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.527e-05/0.01067, allocations: 16.48 kB / 355.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.01075, allocations: 86.19 kB / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01075, allocations: 0 / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of Templates: time 0.00397/0.01472, allocations: 2.017 MB / 357.8 MB, free: 15.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/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.2150887469761074]