Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009199/0.0009199, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009468/0.0009468, allocations: 166.1 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9501/0.9501, allocations: 177 MB / 205.2 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2432/0.2432, allocations: 34.86 MB / 296.6 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 3.938 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.386e-05, allocations: 2.312 kB / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002064/0.002088, allocations: 1.623 MB / 380.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.003476, allocations: 1.273 MB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.003539, allocations: 0 / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.003742, allocations: 27.78 kB / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.003987, allocations: 95.47 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.004159, allocations: 83.66 kB / 381.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.004282, allocations: 71.75 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.443e-05/0.004367, allocations: 11.86 kB / 382 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.004428, allocations: 35.91 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.004513, allocations: 27.91 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.004527, allocations: 4 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.004644, allocations: 91.88 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.004684, allocations: 11.92 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.004714, allocations: 19.92 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.004901, allocations: 131.6 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004903, allocations: 0 / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004904, allocations: 0 / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004908, allocations: 0 / 382.3 MB, free: 14.86 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.0003681/0.005276, allocations: 431.9 kB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.005308, allocations: 12.03 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.005351, allocations: 16.89 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.005494, allocations: 131.1 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.005502, allocations: 384 / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.005523, allocations: 4.375 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.00566, allocations: 108 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005669, allocations: 4.188 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.005679, allocations: 4.375 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.005686, allocations: 4.359 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.005715, allocations: 7.938 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.005974, allocations: 271.8 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.006121, allocations: 50.98 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.006142, allocations: 11.69 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.00616, allocations: 8.078 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.006182, allocations: 37.39 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006183, allocations: 0 / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003262/0.006509, allocations: 105.3 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.006546, allocations: 77.11 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.006662, allocations: 201.9 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.006672, allocations: 25.7 kB / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.006718, allocations: 146.8 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.006735, allocations: 15.8 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.006766, allocations: 31.36 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.006865, allocations: 496.1 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.006882, allocations: 7.984 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.006916, allocations: 57.02 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.497e-05/0.006951, allocations: 19.69 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.006952, allocations: 0 / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.859e-05/0.00702, allocations: 57.81 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.007032, allocations: 8 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.007037, allocations: 8.094 kB / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.007048, allocations: 0 / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.993e-05/0.007088, allocations: 11.98 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.007094, allocations: 3.938 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.007116, allocations: 11.95 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.007119, allocations: 0 / 384.6 MB, free: 12.28 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 6.124e-05/0.007181, allocations: 156.6 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.007201, allocations: 15.88 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.007308, allocations: 62.16 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.007311, allocations: 4 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.007314, allocations: 4 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007317, allocations: 0 / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.00753, allocations: 321.3 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.007531, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.007559, allocations: 11.98 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.007562, allocations: 4 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.007568, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.007569, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.00757, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.00767, allocations: 211.8 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.007679, allocations: 11.94 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.007691, allocations: 4 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.007726, allocations: 8 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.007751, allocations: 192 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.007757, allocations: 11.98 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.835e-05/0.007815, allocations: 149.3 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007815, allocations: 0 / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000186/0.008001, allocations: 39.86 kB / 385.6 MB, free: 11.21 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.0009402/0.008941, allocations: 479.3 kB / 386.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.157e-05/0.009033, allocations: 31.67 kB / 386.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009035, allocations: 0 / 386.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.009058, allocations: 23.61 kB / 386.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.009267, allocations: 22.89 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.009563, allocations: 173.9 kB / 386.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.009597, allocations: 59.34 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.735e-05/0.009635, allocations: 12.25 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.009666, allocations: 20.48 kB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009667, allocations: 0 / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003423/0.01309, allocations: 1.823 MB / 388.2 MB, free: 8.672 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.1287941220216453]