Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001602/0.001602, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001801/0.001801, allocations: 211 kB / 24.48 MB, free: 3.938 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.556/1.556, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2557/0.2557, allocations: 44.93 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 75.89 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4105, allocations: 65.47 MB / 0.5582 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003466/0.4139, allocations: 1.593 MB / 0.5598 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.4151, allocations: 0.5232 MB / 0.5603 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.4151, allocations: 3.938 kB / 0.5603 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.4154, allocations: 23.86 kB / 0.5603 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.4157, allocations: 79.62 kB / 0.5604 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.416, allocations: 107.7 kB / 0.5605 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.4162, allocations: 59.84 kB / 0.5605 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.4163, allocations: 19.92 kB / 0.5606 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.4164, allocations: 31.84 kB / 0.5606 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/0.4165, allocations: 19.81 kB / 0.5606 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.4165, allocations: 4 kB / 0.5606 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.079e-05/0.4166, allocations: 31.98 kB / 0.5606 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.4166, allocations: 19.91 kB / 0.5607 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.4167, allocations: 19.88 kB / 0.5607 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.4169, allocations: 78.06 kB / 0.5608 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4169, allocations: 0 / 0.5608 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4169, allocations: 0 / 0.5608 GB, free: 4.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.4169, allocations: 0 / 0.5608 GB, free: 4.875 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.0005198/0.4174, allocations: 317.8 kB / 0.5611 GB, free: 4.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4174, allocations: 8.031 kB / 0.5611 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.4175, allocations: 12.83 kB / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.4177, allocations: 134.4 kB / 0.5612 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.4177, allocations: 384 / 0.5612 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4177, allocations: 4.375 kB / 0.5612 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.4179, allocations: 57.81 kB / 0.5613 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4179, allocations: 0 / 0.5613 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.4179, allocations: 0 / 0.5613 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4179, allocations: 0 / 0.5613 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.418, allocations: 31.97 kB / 0.5613 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.4184, allocations: 228.5 kB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.4186, allocations: 42.56 kB / 0.5616 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.4186, allocations: 12.94 kB / 0.5616 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.4187, allocations: 4 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.4187, allocations: 34.56 kB / 0.5616 GB, free: 3.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.4187, allocations: 0 / 0.5616 GB, free: 3.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005702/0.4192, allocations: 149.7 kB / 0.5617 GB, free: 3.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.4193, allocations: 55.41 kB / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.4195, allocations: 152 kB / 0.5619 GB, free: 3.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4195, allocations: 25.7 kB / 0.562 GB, free: 3.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.4195, allocations: 96.12 kB / 0.5621 GB, free: 3.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.4196, allocations: 23.8 kB / 0.5621 GB, free: 3.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.4196, allocations: 21.66 kB / 0.5621 GB, free: 3.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4197, allocations: 322.8 kB / 0.5624 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.355e-05/0.4198, allocations: 23.98 kB / 0.5624 GB, free: 2.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.4199, allocations: 23.98 kB / 0.5625 GB, free: 2.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.42, allocations: 52.81 kB / 0.5625 GB, free: 2.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.42, allocations: 0 / 0.5625 GB, free: 2.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002219/0.4202, allocations: 81.62 kB / 0.5626 GB, free: 2.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4203, allocations: 4 kB / 0.5626 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4203, allocations: 3.938 kB / 0.5626 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4203, allocations: 0 / 0.5626 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.573e-05/0.4204, allocations: 31.84 kB / 0.5626 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4204, allocations: 0 / 0.5626 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.4204, allocations: 11.98 kB / 0.5626 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.4204, allocations: 0 / 0.5626 GB, free: 2.773 MB / 398.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.0001065/0.4205, allocations: 117.8 kB / 0.5627 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.4206, allocations: 7.953 kB / 0.5628 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.4208, allocations: 102.3 kB / 0.5628 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4208, allocations: 4 kB / 0.5629 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4208, allocations: 4 kB / 0.5629 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4208, allocations: 0 / 0.5629 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.4213, allocations: 306.1 kB / 0.5631 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4213, allocations: 4 kB / 0.5632 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.4213, allocations: 8 kB / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4213, allocations: 0 / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4213, allocations: 0 / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4213, allocations: 0 / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4213, allocations: 7.984 kB / 0.5632 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.4216, allocations: 191.4 kB / 0.5633 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.4216, allocations: 7.938 kB / 0.5634 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.4216, allocations: 0 / 0.5634 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.4217, allocations: 4 kB / 0.5634 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.4217, allocations: 11.98 kB / 0.5634 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.4217, allocations: 3.938 kB / 0.5634 GB, free: 1.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.687e-05/0.4218, allocations: 111.3 kB / 0.5635 GB, free: 1.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4218, allocations: 0 / 0.5635 GB, free: 1.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.4221, allocations: 23.92 kB / 0.5635 GB, free: 1.797 MB / 398.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.00165/0.4237, allocations: 434.7 kB / 0.5639 GB, free: 1.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.424, allocations: 47.91 kB / 0.564 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.424, allocations: 4 kB / 0.564 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.424, allocations: 27.97 kB / 0.564 GB, free: 1.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.4244, allocations: 15.23 kB / 0.564 GB, free: 1.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.4249, allocations: 219.9 kB / 0.5642 GB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.353e-05/0.425, allocations: 87.02 kB / 0.5643 GB, free: 1.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.425, allocations: 11.44 kB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.425, allocations: 0 / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of Templates: time 0.003573/0.4286, allocations: 1.479 MB / 0.5658 GB, free: 15.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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: 8.050495394971222]