Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001573/0.001573, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001587/0.001587, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.014/1.014, allocations: 177.1 MB / 205 MB, free: 5.648 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.2723/0.2723, allocations: 34.26 MB / 295.7 MB, free: 0.793 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.954e-05, allocations: 2.312 kB / 378.1 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002329/0.002349, allocations: 1.634 MB / 379.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.003609, allocations: 1.286 MB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.003659, allocations: 3.938 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.003859, allocations: 23.78 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.004137, allocations: 83.56 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.004506, allocations: 119.6 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.004632, allocations: 67.83 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.371e-05/0.004696, allocations: 7.938 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/0.004747, allocations: 47.83 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.004827, allocations: 23.92 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.00484, allocations: 4 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.004975, allocations: 83.88 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.005009, allocations: 19.92 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.005034, allocations: 15.92 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.005209, allocations: 131.6 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.00521, allocations: 0 / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005211, allocations: 0 / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.005214, allocations: 0 / 381.6 MB, free: 15.11 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.0003482/0.005562, allocations: 428 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.005591, allocations: 12.03 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.005629, allocations: 16.88 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.005763, allocations: 140 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.005772, allocations: 4.375 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.005787, allocations: 384 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.005914, allocations: 108 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.005926, allocations: 4.141 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.005939, allocations: 4.125 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.005947, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.005977, allocations: 4 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.006232, allocations: 279.8 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.006361, allocations: 43 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.006381, allocations: 15.77 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.006394, allocations: 3.938 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.006415, allocations: 37.39 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.006415, allocations: 0 / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000268/0.006683, allocations: 101.4 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.006715, allocations: 81.05 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.006821, allocations: 203.8 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.006832, allocations: 29.7 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.006874, allocations: 142.9 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.006892, allocations: 15.84 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.006919, allocations: 27.38 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.007014, allocations: 0.4884 MB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.007028, allocations: 4 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.007061, allocations: 53.27 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.007097, allocations: 31.61 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007098, allocations: 4 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.387e-05/0.007162, allocations: 53.59 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.007173, allocations: 8 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.007177, allocations: 8.016 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.007188, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.512e-05/0.007223, allocations: 8 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.007226, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.007247, allocations: 8 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.007253, allocations: 3.984 kB / 383.9 MB, free: 12.54 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 5.649e-05/0.007309, allocations: 160.5 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.007329, allocations: 11.89 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.743e-05/0.007427, allocations: 74.34 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.007429, allocations: 8 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.007432, allocations: 3.984 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.007436, allocations: 0 / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.007636, allocations: 325.3 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007638, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.007663, allocations: 12 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.007664, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-06/0.007669, allocations: 192 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.007671, allocations: 4 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007672, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.008022, allocations: 215.8 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.00803, allocations: 11.89 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.008041, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.008075, allocations: 11.94 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.008098, allocations: 7.984 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.0081, allocations: 0 / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.822e-05/0.008159, allocations: 145.5 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008159, allocations: 0 / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.008388, allocations: 39.86 kB / 384.9 MB, free: 11.45 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.000958/0.009346, allocations: 477.8 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.009447, allocations: 31.67 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.009448, allocations: 0 / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.281e-05/0.009471, allocations: 19.62 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.00966, allocations: 31.84 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.009961, allocations: 177.9 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.563e-05/0.009997, allocations: 59.34 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.16e-05/0.01004, allocations: 11.98 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.01007, allocations: 20.48 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01007, allocations: 0 / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of Templates: time 0.003383/0.01345, allocations: 2.026 MB / 387.8 MB, free: 8.742 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.155703519936651]