Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.00137/0.00137, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001512/0.001512, allocations: 212.9 kB / 23.72 MB, free: 4.531 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.642/1.642, allocations: 230.6 MB / 257.5 MB, free: 7.832 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.2411/0.2411, allocations: 46.96 MB / 360.9 MB, free: 4.059 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.89 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3905, allocations: 66.02 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003664/0.3942, allocations: 1.676 MB / 0.5627 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3954, allocations: 0.5583 MB / 0.5633 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.3954, allocations: 4 kB / 0.5633 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.3957, allocations: 71.7 kB / 0.5633 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.3961, allocations: 107.6 kB / 0.5635 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.3967, allocations: 182.9 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.3969, allocations: 95.73 kB / 0.5637 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.3971, allocations: 16.22 kB / 0.5637 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.681e-05/0.3972, allocations: 47.78 kB / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.3974, allocations: 55.81 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.3974, allocations: 4 kB / 0.5638 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.3976, allocations: 59.97 kB / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3977, allocations: 23.91 kB / 0.5639 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.3978, allocations: 27.75 kB / 0.5639 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.3981, allocations: 129.8 kB / 0.5641 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.3981, allocations: 0 / 0.5641 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3981, allocations: 0 / 0.5641 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3981, allocations: 0 / 0.5641 GB, free: 1.133 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007686/0.3989, allocations: 357.5 kB / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.3989, allocations: 8.031 kB / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.399, allocations: 12.89 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.3993, allocations: 146.3 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3993, allocations: 4.375 kB / 0.5646 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.3993, allocations: 4.375 kB / 0.5646 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.3996, allocations: 69.73 kB / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3996, allocations: 0 / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3996, allocations: 0 / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3996, allocations: 8 kB / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.3998, allocations: 43.95 kB / 0.5647 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.4003, allocations: 268.3 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.4006, allocations: 54.56 kB / 0.565 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.746e-05/0.4007, allocations: 28.95 kB / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.4007, allocations: 4 kB / 0.565 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.038e-05/0.4008, allocations: 38.59 kB / 0.5651 GB, free: 16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.4008, allocations: 0 / 0.5651 GB, free: 16 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001647/0.4025, allocations: 445.2 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.4025, allocations: 51.41 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.4028, allocations: 214.2 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.4028, allocations: 29.7 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.4029, allocations: 112.1 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.4029, allocations: 39.69 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.403, allocations: 21.72 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4031, allocations: 330.8 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.4033, allocations: 51.97 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.4034, allocations: 51.95 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.4037, allocations: 132.7 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4037, allocations: 0 / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003729/0.4041, allocations: 169.5 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4041, allocations: 4 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4041, allocations: 0 / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.4042, allocations: 3.984 kB / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.4043, allocations: 27.98 kB / 0.5667 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.4043, allocations: 7.938 kB / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.4044, allocations: 7.984 kB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.4044, allocations: 4 kB / 0.5667 GB, free: 14.27 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 (11): * Single equations (assignments): 11 * 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.0001387/0.4045, allocations: 137.8 kB / 0.5668 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.4046, allocations: 15.91 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/0.405, allocations: 186.9 kB / 0.567 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.405, allocations: 4 kB / 0.567 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.4051, allocations: 7.938 kB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4051, allocations: 0 / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007821/0.4058, allocations: 447.6 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4058, allocations: 0 / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.406, allocations: 27.92 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.406, allocations: 4 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.406, allocations: 8 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.406, allocations: 0 / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.406, allocations: 0 / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.4064, allocations: 273 kB / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.4064, allocations: 19.88 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.4065, allocations: 0 / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4066, allocations: 11.98 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.4066, allocations: 19.92 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.4066, allocations: 4.219 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.4068, allocations: 168.2 kB / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4068, allocations: 0 / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.4071, allocations: 24 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001935/0.409, allocations: 494.3 kB / 0.5685 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.4094, allocations: 127.8 kB / 0.5686 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4094, allocations: 0 / 0.5686 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.4096, allocations: 64.02 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.41, allocations: 41.12 kB / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007584/0.4108, allocations: 340.7 kB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.4109, allocations: 101.8 kB / 0.5691 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.411, allocations: 32.45 kB / 0.5691 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.4111, allocations: 19.44 kB / 0.5692 GB, free: 11.81 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4111, allocations: 0 / 0.5692 GB, free: 11.81 MB / 414.1 MB Notification: Performance of Templates: time 0.005264/0.4163, allocations: 1.737 MB / 0.5709 GB, free: 10.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.413023018743843]