Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009358/0.0009358, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001696/0.001696, allocations: 175.3 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.957/0.957, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2399/0.2399, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.569e-05, allocations: 6.328 kB / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002968/0.002994, allocations: 1.637 MB / 324.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.004771, allocations: 1.29 MB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.004835, allocations: 0 / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.005079, allocations: 15.86 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.005426, allocations: 95.42 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.005696, allocations: 91.64 kB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.005855, allocations: 71.77 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.005952, allocations: 7.984 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.006038, allocations: 35.91 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.00616, allocations: 19.92 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.006178, allocations: 8 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.00636, allocations: 87.88 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.006413, allocations: 19.91 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.006444, allocations: 11.94 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.00669, allocations: 135.5 kB / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.006696, allocations: 3.984 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006697, allocations: 0 / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.006701, allocations: 0 / 326.8 MB, free: 6.148 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.0004147/0.007116, allocations: 306.1 kB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.007154, allocations: 12.03 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.007191, allocations: 8.938 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.007354, allocations: 125.7 kB / 327.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.007364, allocations: 4.312 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.007386, allocations: 384 / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.007523, allocations: 102.3 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.007533, allocations: 192 / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.007542, allocations: 4.125 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.007548, allocations: 0 / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.536e-05/0.007574, allocations: 4 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.007879, allocations: 167 kB / 327.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.008077, allocations: 42.53 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.008098, allocations: 12.92 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.008121, allocations: 0 / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.008151, allocations: 34.56 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.008152, allocations: 0 / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004044/0.008557, allocations: 81.56 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.008602, allocations: 77.11 kB / 327.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.008726, allocations: 147.3 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.00874, allocations: 29.7 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.008779, allocations: 96.06 kB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.0088, allocations: 15.84 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.008835, allocations: 17.72 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.008971, allocations: 322.8 kB / 328.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.008985, allocations: 4 kB / 328.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.172e-05/0.009027, allocations: 51.28 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.009066, allocations: 20.84 kB / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.009067, allocations: 0 / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.05e-05/0.009158, allocations: 53.86 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.009174, allocations: 8 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.009182, allocations: 4 kB / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.0092, allocations: 0 / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.009265, allocations: 12.03 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.00927, allocations: 3.938 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.009302, allocations: 7.984 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.00931, allocations: 3.984 kB / 328.5 MB, free: 4.219 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 6.851e-05/0.009378, allocations: 108.7 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.009409, allocations: 11.94 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.009525, allocations: 58.14 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.009527, allocations: 0 / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.009529, allocations: 0 / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.009532, allocations: 0 / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.009834, allocations: 214.8 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.009837, allocations: 3.938 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.009893, allocations: 11.98 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.009898, allocations: 4 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.064e-05/0.009978, allocations: 4 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.00998, allocations: 0 / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009982, allocations: 0 / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.01009, allocations: 147.5 kB / 329 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.01011, allocations: 11.89 kB / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.01012, allocations: 4 kB / 329.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.01018, allocations: 8.188 kB / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.01021, allocations: 3.984 kB / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.01021, allocations: 4 kB / 329.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.609e-05/0.01027, allocations: 27.67 kB / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01027, allocations: 0 / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002912/0.01056, allocations: 39.86 kB / 329.1 MB, free: 3.508 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.001903/0.01246, allocations: 0.6318 MB / 329.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.01257, allocations: 16.86 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.01257, allocations: 0 / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/0.0126, allocations: 28.78 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.01285, allocations: 23.92 kB / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.01322, allocations: 158.5 kB / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.379e-05/0.01326, allocations: 59.34 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.048e-05/0.01332, allocations: 12.25 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.0134, allocations: 63.36 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0134, allocations: 0 / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of Templates: time 0.004638/0.01804, allocations: 2.001 MB / 332.1 MB, free: 0.793 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.951578334905207]