Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.0009785/0.0009785, 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.001087/0.001087, allocations: 174.4 kB / 24.92 MB, free: 9.18 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.9434/0.9434, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2475/0.2475, allocations: 34.26 MB / 296.1 MB, free: 0.6641 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.CombiTable1Ds.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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.924e-05, allocations: 10.27 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002087/0.002106, allocations: 1.626 MB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.003443, allocations: 1.297 MB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.003496, allocations: 0 / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.00369, allocations: 19.86 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.003965, allocations: 87.48 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.00417, allocations: 95.62 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.004292, allocations: 68.41 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.199e-05/0.004364, allocations: 7.984 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.00442, allocations: 35.91 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.609e-05/0.004506, allocations: 27.91 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.00452, allocations: 4 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.004646, allocations: 91.81 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.004685, allocations: 15.92 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.004707, allocations: 15.92 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.004902, allocations: 131.6 kB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004904, allocations: 0 / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004905, allocations: 0 / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004909, allocations: 0 / 328.8 MB, free: 4.125 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.0003212/0.00523, allocations: 309.6 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.005257, allocations: 8.031 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.005284, allocations: 4.938 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.005407, allocations: 133.7 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.005415, allocations: 384 / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.005432, allocations: 4.375 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.763e-05/0.005529, allocations: 94.36 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005538, allocations: 192 / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.005546, allocations: 12.06 kB / 329.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.005551, allocations: 0 / 329.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.00557, allocations: 7.984 kB / 329.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.005746, allocations: 159 kB / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.005896, allocations: 38.62 kB / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.005915, allocations: 12.86 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.005932, allocations: 3.938 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.005952, allocations: 30.56 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.005953, allocations: 0 / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002534/0.006207, allocations: 90.23 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.006239, allocations: 77.11 kB / 329.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.006331, allocations: 144.3 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.00634, allocations: 25.7 kB / 329.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.006368, allocations: 96.06 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.006385, allocations: 15.84 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.006411, allocations: 25.7 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.006478, allocations: 314.8 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.006486, allocations: 4 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.006513, allocations: 47.59 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.006539, allocations: 24.83 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.00654, allocations: 0 / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.089e-05/0.006591, allocations: 57.56 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.006601, allocations: 4 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006605, allocations: 0 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.006616, allocations: 0 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.761e-05/0.006654, allocations: 16.02 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006656, allocations: 7.938 kB / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.006673, allocations: 0 / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.006678, allocations: 4 kB / 330.5 MB, free: 2.199 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.875e-05/0.006727, allocations: 108.7 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.006745, allocations: 15.92 kB / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.91e-05/0.006824, allocations: 54.09 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.006827, allocations: 4 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.006828, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.006832, allocations: 3.984 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.007011, allocations: 206.8 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.007013, allocations: 3.938 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.007039, allocations: 15.94 kB / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.00704, allocations: 0 / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-06/0.007044, allocations: 0 / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.007046, allocations: 4.188 kB / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.007048, allocations: 4 kB / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.741e-05/0.007115, allocations: 143.5 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.007124, allocations: 11.89 kB / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.007135, allocations: 8 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-05/0.007165, allocations: 0 / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.007185, allocations: 11.98 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.007188, allocations: 0 / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.925e-05/0.007217, allocations: 30.02 kB / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007217, allocations: 0 / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.007378, allocations: 39.86 kB / 331.2 MB, free: 1.488 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.00122/0.008598, allocations: 0.6311 MB / 331.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.356e-05/0.008672, allocations: 28.84 kB / 331.8 MB, free: 1.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.008675, allocations: 0 / 331.8 MB, free: 1.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.008692, allocations: 16.86 kB / 331.8 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.008837, allocations: 23.92 kB / 331.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.009067, allocations: 166.5 kB / 332 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.008e-05/0.009097, allocations: 61.78 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.328e-05/0.00913, allocations: 15.97 kB / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.009186, allocations: 63.36 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009187, allocations: 0 / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of Templates: time 0.003266/0.01245, allocations: 1.991 MB / 334.2 MB, free: 14.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.8793899160809815]