Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.00163/0.00163, allocations: 110.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.002118/0.002118, allocations: 216.8 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.623/1.623, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2444/0.2444, allocations: 46.88 MB / 361.1 MB, free: 4.633 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1") [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.002394/0.002394, allocations: 79.88 kB / 0.4968 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4099, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003265/0.4131, allocations: 1.697 MB / 0.5629 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.4142, allocations: 0.5693 MB / 0.5634 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.4143, allocations: 4 kB / 0.5634 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.4151, allocations: 455.1 kB / 0.5639 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.4156, allocations: 291.3 kB / 0.5642 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.416, allocations: 139 kB / 0.5643 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.4162, allocations: 167.7 kB / 0.5644 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4164, allocations: 15.98 kB / 0.5645 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.4165, allocations: 119.6 kB / 0.5646 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.4168, allocations: 247.5 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.4168, allocations: 4 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.417, allocations: 51.98 kB / 0.5649 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.4171, allocations: 83.67 kB / 0.5649 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.4172, allocations: 103 kB / 0.565 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.4176, allocations: 289.1 kB / 0.5653 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4176, allocations: 0 / 0.5653 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4176, allocations: 0 / 0.5653 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.4176, allocations: 0 / 0.5653 GB, free: 0.8008 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.0009848/0.4186, allocations: 0.6568 MB / 0.566 GB, free: 92 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4186, allocations: 12.03 kB / 0.566 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.4187, allocations: 48.64 kB / 0.566 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.4191, allocations: 300.6 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4191, allocations: 8.312 kB / 0.5663 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.4192, allocations: 4.375 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.4193, allocations: 50.25 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.4193, allocations: 8.172 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.4194, allocations: 7.938 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4194, allocations: 0 / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.4195, allocations: 27.98 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.4202, allocations: 396.6 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.4203, allocations: 46.55 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.4204, allocations: 20.88 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.4204, allocations: 4.031 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4204, allocations: 38.56 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4204, allocations: 0 / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001006/0.4214, allocations: 316.5 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.4215, allocations: 55.41 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009578/0.4225, allocations: 0.8653 MB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.4225, allocations: 25.7 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.4228, allocations: 224.1 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.4228, allocations: 23.75 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.4229, allocations: 25.72 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000284/0.4232, allocations: 362.7 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.4233, allocations: 23.98 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.751e-05/0.4233, allocations: 27.98 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4235, allocations: 64.77 kB / 0.5688 GB, free: 12.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4235, allocations: 0 / 0.5688 GB, free: 12.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002479/0.4237, allocations: 137.4 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4238, allocations: 8 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4238, allocations: 4 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4238, allocations: 3.938 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.4239, allocations: 23.98 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4239, allocations: 320 / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.424, allocations: 7.938 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.424, allocations: 3.984 kB / 0.569 GB, free: 12.78 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 (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 0.0002333/0.4242, allocations: 213.7 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.4243, allocations: 47.67 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.4247, allocations: 165.5 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4247, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.4247, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4247, allocations: 7.922 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009359/0.4257, allocations: 0.4953 MB / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4257, allocations: 0 / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.4257, allocations: 24.02 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.4257, allocations: 3.938 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4257, allocations: 7.938 kB / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4257, allocations: 7.938 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4257, allocations: 0 / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.4261, allocations: 232 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.4262, allocations: 116.8 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.4262, allocations: 3.938 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.4263, allocations: 11.98 kB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.4264, allocations: 4 kB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4264, allocations: 7.984 kB / 0.5703 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006536/0.427, allocations: 0.6472 MB / 0.5709 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.427, allocations: 0 / 0.5709 GB, free: 10.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.4273, allocations: 28 kB / 0.571 GB, free: 10.66 MB / 414.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.001992/0.4293, allocations: 468.4 kB / 0.5714 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.4295, allocations: 59.95 kB / 0.5715 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4295, allocations: 4 kB / 0.5715 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.873e-05/0.4296, allocations: 31.92 kB / 0.5715 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.4301, allocations: 30.55 kB / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.4315, allocations: 0.8424 MB / 0.5724 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.432, allocations: 0.826 MB / 0.5732 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.4321, allocations: 16.42 kB / 0.5732 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.4321, allocations: 19.42 kB / 0.5732 GB, free: 8.484 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4321, allocations: 0 / 0.5732 GB, free: 8.484 MB / 414.1 MB Notification: Performance of Templates: time 0.006023/0.4381, allocations: 1.765 MB / 0.5749 GB, free: 6.727 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.423175666015595]