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.0009727/0.0009727, allocations: 80.8 kB / 21.5 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.001002/0.001002, allocations: 169.1 kB / 24.91 MB, free: 9.184 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.9121/0.9121, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2457/0.2457, allocations: 34.26 MB / 296.1 MB, free: 0.7422 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.824e-06/1.824e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.963e-05, allocations: 3.781 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003201/0.003231, allocations: 1.645 MB / 326.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.005045, allocations: 1.301 MB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.005111, allocations: 0 / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.005384, allocations: 27.78 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.005758, allocations: 87.55 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.006097, allocations: 111.6 kB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.006264, allocations: 71.77 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.006356, allocations: 11.92 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.685e-05/0.006432, allocations: 35.91 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.006809, allocations: 27.91 kB / 328.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.006837, allocations: 4 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.007014, allocations: 91.81 kB / 328.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.007062, allocations: 15.92 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.007087, allocations: 12 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.007288, allocations: 135.5 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.007291, allocations: 0 / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007293, allocations: 4 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.007296, allocations: 0 / 328.8 MB, free: 4.109 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003179/0.007614, allocations: 298.2 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.007648, allocations: 12.03 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.007675, allocations: 0.9375 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.007803, allocations: 133.7 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.007813, allocations: 8.312 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.007833, allocations: 384 / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.007945, allocations: 98.36 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.007953, allocations: 192 / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.007961, allocations: 8.125 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.007964, allocations: 0 / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.007985, allocations: 11.92 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.008188, allocations: 163.2 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.008312, allocations: 37.38 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.008327, allocations: 8.859 kB / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.008342, allocations: 4 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.008364, allocations: 38.58 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.008364, allocations: 0 / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002585/0.008623, allocations: 97.47 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.008656, allocations: 77.11 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.259e-05/0.008739, allocations: 140.3 kB / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.00875, allocations: 25.7 kB / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.008777, allocations: 92.08 kB / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.008795, allocations: 19.89 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.008817, allocations: 13.72 kB / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.008885, allocations: 318.8 kB / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.008896, allocations: 4 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.008926, allocations: 51.41 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.008954, allocations: 23.86 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.008955, allocations: 4.031 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.717e-05/0.009002, allocations: 53.56 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.009011, allocations: 4 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.009015, allocations: 0 / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.009023, allocations: 0 / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.404e-05/0.009057, allocations: 11.98 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.009061, allocations: 4 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.009078, allocations: 288 / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.009082, allocations: 0 / 330.5 MB, free: 2.191 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 (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 4.885e-05/0.009131, allocations: 120.6 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.009149, allocations: 15.92 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.203e-05/0.009231, allocations: 70 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.009232, allocations: 0 / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.009234, allocations: 4 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.009236, allocations: 0 / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.009405, allocations: 202.8 kB / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.009407, allocations: 3.938 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.009429, allocations: 8 kB / 331 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.009432, allocations: 7.922 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-06/0.009436, allocations: 0 / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.009437, allocations: 4.188 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009437, allocations: 4 kB / 331 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.403e-05/0.009501, allocations: 147.5 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.009509, allocations: 7.891 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.009522, allocations: 7.984 kB / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.973e-05/0.009552, allocations: 0 / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.009573, allocations: 8 kB / 331.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.009575, allocations: 0 / 331.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.804e-05/0.009604, allocations: 38.3 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009604, allocations: 0 / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.009749, allocations: 35.88 kB / 331.2 MB, free: 1.461 MB / 298.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.001209/0.01096, allocations: 0.6262 MB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.556e-05/0.01102, allocations: 28.84 kB / 331.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01103, allocations: 0 / 331.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/0.01104, allocations: 16.84 kB / 331.9 MB, free: 1.094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.01118, allocations: 19.92 kB / 331.9 MB, free: 1.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.01144, allocations: 174.4 kB / 332.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.084e-05/0.01147, allocations: 61.78 kB / 332.1 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.375e-05/0.0115, allocations: 15.98 kB / 332.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.01156, allocations: 63.36 kB / 332.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01156, allocations: 0 / 332.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of Templates: time 0.00307/0.01463, allocations: 2.003 MB / 334.2 MB, free: 14.73 MB / 314.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: 2.758952205069363]