Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001845/0.001845, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.002577/0.002577, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 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 1.532/1.532, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2825/0.2825, allocations: 46.89 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 79.86 kB / 0.4968 GB, free: 8.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3971, allocations: 65.97 MB / 0.5612 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002423/0.3996, allocations: 1.632 MB / 0.5628 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007858/0.4003, allocations: 0.5513 MB / 0.5634 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.4004, allocations: 3.219 kB / 0.5634 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.4007, allocations: 94.97 kB / 0.5634 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.4009, allocations: 108 kB / 0.5635 GB, free: 33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.4012, allocations: 93.44 kB / 0.5636 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.4013, allocations: 88.09 kB / 0.5637 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.4014, allocations: 15.47 kB / 0.5637 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.659e-05/0.4015, allocations: 41.56 kB / 0.5638 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.774e-05/0.4016, allocations: 56.41 kB / 0.5638 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.4016, allocations: 5.469 kB / 0.5638 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.019e-05/0.4016, allocations: 46.94 kB / 0.5639 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.4017, allocations: 28.48 kB / 0.5639 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.4017, allocations: 33.41 kB / 0.5639 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.4019, allocations: 106.1 kB / 0.564 GB, free: 32.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4019, allocations: 3.031 kB / 0.564 GB, free: 32.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.4019, allocations: 3.531 kB / 0.564 GB, free: 32.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.4019, allocations: 0 / 0.564 GB, free: 32.78 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004098/0.4023, allocations: 429.5 kB / 0.5645 GB, free: 32.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.4023, allocations: 9 kB / 0.5645 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.4024, allocations: 14.81 kB / 0.5645 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.4025, allocations: 203 kB / 0.5647 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.4025, allocations: 4.375 kB / 0.5647 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.4026, allocations: 8.172 kB / 0.5647 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.4027, allocations: 53.08 kB / 0.5647 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4027, allocations: 3.625 kB / 0.5647 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4027, allocations: 5.938 kB / 0.5647 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4027, allocations: 3.422 kB / 0.5647 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.803e-05/0.4028, allocations: 26.64 kB / 0.5648 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.4031, allocations: 296.9 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.856e-05/0.4032, allocations: 42.97 kB / 0.5651 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.4032, allocations: 25.28 kB / 0.5651 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.4032, allocations: 0 / 0.5651 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.4032, allocations: 31.94 kB / 0.5652 GB, free: 31.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.4032, allocations: 0 / 0.5652 GB, free: 31.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008143/0.4041, allocations: 239 kB / 0.5654 GB, free: 31.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.4041, allocations: 52.03 kB / 0.5654 GB, free: 31.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.4042, allocations: 230.3 kB / 0.5656 GB, free: 31.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.4043, allocations: 25.7 kB / 0.5657 GB, free: 31.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.4043, allocations: 109.3 kB / 0.5658 GB, free: 31.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.4043, allocations: 30.69 kB / 0.5658 GB, free: 31.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.4044, allocations: 23.31 kB / 0.5658 GB, free: 31.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.4044, allocations: 325.6 kB / 0.5661 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.335e-05/0.4045, allocations: 26.36 kB / 0.5662 GB, free: 30.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/0.4045, allocations: 25.52 kB / 0.5662 GB, free: 30.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.4047, allocations: 66.17 kB / 0.5663 GB, free: 30.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4047, allocations: 0 / 0.5663 GB, free: 30.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001854/0.4049, allocations: 104.3 kB / 0.5664 GB, free: 30.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.4049, allocations: 3.406 kB / 0.5664 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4049, allocations: 4.078 kB / 0.5664 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4049, allocations: 3.094 kB / 0.5664 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.405, allocations: 16.23 kB / 0.5664 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.405, allocations: 0.7969 kB / 0.5664 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.405, allocations: 8.312 kB / 0.5664 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.405, allocations: 3.672 kB / 0.5664 GB, free: 30.8 MB / 446.1 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 (8): * Single equations (assignments): 8 * 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 7.219e-05/0.4051, allocations: 138.9 kB / 0.5665 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.4051, allocations: 13.94 kB / 0.5665 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.4054, allocations: 115.7 kB / 0.5666 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4054, allocations: 0 / 0.5666 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4054, allocations: 3.219 kB / 0.5666 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4054, allocations: 0 / 0.5666 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.4058, allocations: 413.7 kB / 0.567 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4058, allocations: 0 / 0.567 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.4059, allocations: 24.45 kB / 0.5671 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4059, allocations: 3.609 kB / 0.5671 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.4059, allocations: 3.938 kB / 0.5671 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4059, allocations: 5.156 kB / 0.5671 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4059, allocations: 3.062 kB / 0.5671 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.4061, allocations: 218.7 kB / 0.5673 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.4062, allocations: 92.52 kB / 0.5674 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.4062, allocations: 4.734 kB / 0.5674 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.4062, allocations: 8.406 kB / 0.5674 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.4063, allocations: 11.64 kB / 0.5674 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.4063, allocations: 0 / 0.5674 GB, free: 29.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.4064, allocations: 185 kB / 0.5676 GB, free: 29.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4064, allocations: 0 / 0.5676 GB, free: 29.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.4067, allocations: 23.97 kB / 0.5676 GB, free: 29.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001594/0.4083, allocations: 449.8 kB / 0.568 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.4085, allocations: 64.92 kB / 0.5681 GB, free: 29.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4085, allocations: 0 / 0.5681 GB, free: 29.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.4086, allocations: 38.34 kB / 0.5681 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.4089, allocations: 29.36 kB / 0.5682 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.4094, allocations: 282.6 kB / 0.5684 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.4095, allocations: 0.7128 MB / 0.5691 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.483e-05/0.4096, allocations: 18.8 kB / 0.5691 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.4096, allocations: 13.91 kB / 0.5692 GB, free: 28.68 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4096, allocations: 0 / 0.5692 GB, free: 28.68 MB / 446.1 MB Notification: Performance of Templates: time 0.003923/0.4135, allocations: 1.382 MB / 0.5705 GB, free: 28.5 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.458477508276701]