Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.00197/0.00197, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002474/0.002474, allocations: 219.9 kB / 23.73 MB, free: 4.164 MB / 14.72 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.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2376/0.2376, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 67.84 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4039, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003831/0.4077, allocations: 1.593 MB / 0.5627 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.4102, allocations: 1.232 MB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.4103, allocations: 3.938 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.4106, allocations: 23.84 kB / 0.5639 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.411, allocations: 83.62 kB / 0.564 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.4114, allocations: 87.75 kB / 0.564 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.4116, allocations: 63.84 kB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.4118, allocations: 15.98 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.4119, allocations: 31.78 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.412, allocations: 27.86 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.412, allocations: 4 kB / 0.5642 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.4123, allocations: 87.94 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.4123, allocations: 15.92 kB / 0.5643 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.4124, allocations: 27.8 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.4129, allocations: 133.9 kB / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4129, allocations: 0 / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4129, allocations: 0 / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.4129, allocations: 4 kB / 0.5644 GB, free: 0.7344 MB / 398.1 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.0006471/0.4135, allocations: 333.7 kB / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4136, allocations: 8.031 kB / 0.5648 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.4136, allocations: 8.891 kB / 0.5648 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.4139, allocations: 138.4 kB / 0.5649 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4139, allocations: 384 / 0.5649 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.414, allocations: 384 / 0.5649 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.4142, allocations: 97.22 kB / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4142, allocations: 0 / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.4142, allocations: 0 / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.4142, allocations: 0 / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.4143, allocations: 23.98 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.4149, allocations: 236.4 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.4151, allocations: 38.56 kB / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.4152, allocations: 12.86 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.4152, allocations: 4 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.4152, allocations: 34.64 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.4152, allocations: 0 / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006464/0.4159, allocations: 145.4 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.4159, allocations: 77.11 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.4162, allocations: 156 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.4162, allocations: 25.7 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.4163, allocations: 96.12 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.4164, allocations: 15.8 kB / 0.5658 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.4164, allocations: 21.7 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4166, allocations: 322.8 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.4167, allocations: 23.92 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.994e-05/0.4168, allocations: 59.41 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4169, allocations: 48.77 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4169, allocations: 0 / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001993/0.4171, allocations: 85.61 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4171, allocations: 4 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4171, allocations: 0 / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.4172, allocations: 4.031 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.4172, allocations: 15.94 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4172, allocations: 0 / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.4173, allocations: 7.984 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4173, allocations: 0 / 0.5664 GB, free: 14.53 MB / 414.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 (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 0.0001191/0.4174, allocations: 117.8 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.4174, allocations: 7.953 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.4177, allocations: 86.06 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4177, allocations: 3.984 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4177, allocations: 4.312 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.4177, allocations: 0 / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.4182, allocations: 302.1 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4182, allocations: 0 / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.4183, allocations: 11.98 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4183, allocations: 4 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4183, allocations: 0 / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4183, allocations: 0 / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4183, allocations: 0 / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.4185, allocations: 187.3 kB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.4186, allocations: 7.953 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.4186, allocations: 0 / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.4187, allocations: 11.98 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.4187, allocations: 7.938 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.4187, allocations: 0 / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.4188, allocations: 115.2 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4188, allocations: 0 / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.4191, allocations: 35.88 kB / 0.5673 GB, free: 13.57 MB / 414.1 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.001954/0.4211, allocations: 0.5297 MB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.4213, allocations: 43.91 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4213, allocations: 4 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.4214, allocations: 19.98 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4217, allocations: 15.98 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.4222, allocations: 165.8 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.095e-05/0.4223, allocations: 87.02 kB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.442e-05/0.4224, allocations: 15.77 kB / 0.5681 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.4224, allocations: 23.42 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4224, allocations: 3.938 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of Templates: time 0.005835/0.4282, allocations: 1.824 MB / 0.5699 GB, free: 11.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.418426198884845]