Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001355/0.001355, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001591/0.001591, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.525/1.525, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.2373/0.2373, allocations: 46.96 MB / 361.6 MB, free: 4.043 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 72.02 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3907, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003239/0.394, allocations: 1.606 MB / 0.5634 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3951, allocations: 0.534 MB / 0.5639 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.3951, allocations: 3.938 kB / 0.5639 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.3958, allocations: 459.1 kB / 0.5644 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005289/0.3963, allocations: 291.3 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.3968, allocations: 174.9 kB / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.397, allocations: 171.7 kB / 0.565 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3971, allocations: 16 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3972, allocations: 115.7 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.3975, allocations: 243.5 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.3975, allocations: 4 kB / 0.5653 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/0.3976, allocations: 24 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3977, allocations: 83.69 kB / 0.5654 GB, free: 476 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/0.3978, allocations: 63.25 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.3981, allocations: 265 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3981, allocations: 0 / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3981, allocations: 0 / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3981, allocations: 0 / 0.5657 GB, free: 152 kB / 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.0007706/0.3989, allocations: 0.5738 MB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.399, allocations: 8.031 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/0.399, allocations: 44.66 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.3993, allocations: 250.7 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3993, allocations: 384 / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.3993, allocations: 384 / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.3995, allocations: 58.73 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3995, allocations: 0 / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3995, allocations: 4 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3995, allocations: 4 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.393e-05/0.3996, allocations: 27.95 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.4001, allocations: 332.4 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.4002, allocations: 26.58 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.4003, allocations: 16.91 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.4003, allocations: 4 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4003, allocations: 38.56 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4003, allocations: 0 / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002938/0.4006, allocations: 101.3 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.4007, allocations: 51.41 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008682/0.4015, allocations: 0.8652 MB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.4015, allocations: 25.7 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.4017, allocations: 212 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.4017, allocations: 11.94 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.4018, allocations: 13.84 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.402, allocations: 366.7 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.402, allocations: 11.98 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.4021, allocations: 4 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.578e-05/0.4021, allocations: 40.77 kB / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4021, allocations: 0 / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001511/0.4023, allocations: 89.41 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4023, allocations: 8 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4023, allocations: 12.08 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4023, allocations: 0 / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.4024, allocations: 7.984 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.4024, allocations: 0 / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.4025, allocations: 0 / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.4025, allocations: 4 kB / 0.5688 GB, free: 12.79 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 (2): * Single equations (assignments): 2 * 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.0001953/0.4027, allocations: 213.7 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.4027, allocations: 39.72 kB / 0.5691 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.4029, allocations: 116.6 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4029, allocations: 4 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4029, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4029, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.4032, allocations: 237.1 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4032, allocations: 4 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.4032, allocations: 4 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4032, allocations: 0 / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.4033, allocations: 0 / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4033, allocations: 3.938 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4033, allocations: 0 / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.4035, allocations: 203.2 kB / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.4035, allocations: 31.72 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.4035, allocations: 4 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.4036, allocations: 0 / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.4036, allocations: 3.984 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.4036, allocations: 4 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006456/0.4043, allocations: 0.6511 MB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4043, allocations: 0 / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.4045, allocations: 19.94 kB / 0.5703 GB, free: 11.21 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 (2): * Single equations (assignments): 2 * 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.001374/0.4059, allocations: 375.8 kB / 0.5707 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.406, allocations: 27.92 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.406, allocations: 0 / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.705e-05/0.4061, allocations: 23.98 kB / 0.5707 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.4065, allocations: 31.5 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.4077, allocations: 0.7869 MB / 0.5715 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.4079, allocations: 220.1 kB / 0.5717 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.408, allocations: 4 kB / 0.5717 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.408, allocations: 15.42 kB / 0.5718 GB, free: 9.844 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.408, allocations: 0 / 0.5718 GB, free: 9.844 MB / 414.1 MB Notification: Performance of Templates: time 0.00499/0.413, allocations: 1.451 MB / 0.5732 GB, free: 8.402 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.099762935002218]