Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001817/0.001817, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.002452/0.002452, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.555/1.555, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2164/0.2164, allocations: 44.91 MB / 359.6 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [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.002282/0.002282, allocations: 63.91 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3896, allocations: 65.47 MB / 0.5583 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003394/0.393, allocations: 1.644 MB / 0.5599 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3941, allocations: 0.5466 MB / 0.5604 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.3942, allocations: 7.875 kB / 0.5604 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.3945, allocations: 107.7 kB / 0.5605 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.3948, allocations: 123.5 kB / 0.5606 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.3951, allocations: 87.75 kB / 0.5607 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.3953, allocations: 95.73 kB / 0.5608 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3955, allocations: 11.8 kB / 0.5608 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.203e-05/0.3955, allocations: 47.83 kB / 0.5609 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.3957, allocations: 75.78 kB / 0.5609 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3957, allocations: 4 kB / 0.5609 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3958, allocations: 47.92 kB / 0.561 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.3959, allocations: 27.92 kB / 0.561 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.3959, allocations: 31.73 kB / 0.561 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.3962, allocations: 122 kB / 0.5612 GB, free: 4.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3962, allocations: 0 / 0.5612 GB, free: 4.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3962, allocations: 0 / 0.5612 GB, free: 4.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3962, allocations: 3.938 kB / 0.5612 GB, free: 4.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005653/0.3967, allocations: 357.5 kB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3968, allocations: 8.031 kB / 0.5615 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.3968, allocations: 12.89 kB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.397, allocations: 147.1 kB / 0.5617 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3971, allocations: 16.36 kB / 0.5617 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3971, allocations: 384 / 0.5617 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3972, allocations: 53.75 kB / 0.5617 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3973, allocations: 3.953 kB / 0.5617 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3973, allocations: 8 kB / 0.5617 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3973, allocations: 4 kB / 0.5617 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.925e-05/0.3974, allocations: 27.97 kB / 0.5618 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.3978, allocations: 263.9 kB / 0.562 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.398, allocations: 42.5 kB / 0.5621 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.398, allocations: 16.94 kB / 0.5621 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.398, allocations: 8 kB / 0.5621 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.3981, allocations: 34.56 kB / 0.5621 GB, free: 3.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3981, allocations: 0 / 0.5621 GB, free: 3.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009184/0.399, allocations: 233.2 kB / 0.5623 GB, free: 3.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.3991, allocations: 55.41 kB / 0.5624 GB, free: 3.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.3993, allocations: 258.9 kB / 0.5626 GB, free: 3.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.3994, allocations: 33.64 kB / 0.5627 GB, free: 3.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.3995, allocations: 108.1 kB / 0.5628 GB, free: 2.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3995, allocations: 23.75 kB / 0.5628 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.3995, allocations: 25.7 kB / 0.5628 GB, free: 2.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3997, allocations: 326.8 kB / 0.5631 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.3998, allocations: 23.98 kB / 0.5632 GB, free: 2.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.3999, allocations: 31.86 kB / 0.5632 GB, free: 2.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.4, allocations: 60.83 kB / 0.5633 GB, free: 2.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4, allocations: 0 / 0.5633 GB, free: 2.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002239/0.4002, allocations: 105.6 kB / 0.5634 GB, free: 2.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4002, allocations: 4 kB / 0.5634 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4002, allocations: 4.312 kB / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4003, allocations: 0 / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4004, allocations: 19.98 kB / 0.5634 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4004, allocations: 3.938 kB / 0.5634 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.4004, allocations: 11.94 kB / 0.5634 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.4004, allocations: 3.984 kB / 0.5634 GB, free: 2.25 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 (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.0001226/0.4005, allocations: 129.8 kB / 0.5635 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.4006, allocations: 15.91 kB / 0.5635 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.4009, allocations: 123.5 kB / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4009, allocations: 0 / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4009, allocations: 3.984 kB / 0.5637 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4009, allocations: 7.922 kB / 0.5637 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.4014, allocations: 382.3 kB / 0.564 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4014, allocations: 0 / 0.564 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.4015, allocations: 27.95 kB / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4015, allocations: 7.938 kB / 0.5641 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.4015, allocations: 0 / 0.5641 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4015, allocations: 0 / 0.5641 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4015, allocations: 4 kB / 0.5641 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.4018, allocations: 208.3 kB / 0.5643 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.4018, allocations: 11.89 kB / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.4019, allocations: 0 / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.4019, allocations: 11.92 kB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.402, allocations: 4 kB / 0.5643 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.402, allocations: 7.938 kB / 0.5643 GB, free: 1.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.4022, allocations: 187.2 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4022, allocations: 0 / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.4024, allocations: 27.92 kB / 0.5645 GB, free: 1.02 MB / 398.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.001752/0.4042, allocations: 458.9 kB / 0.5649 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.4044, allocations: 63.91 kB / 0.565 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4044, allocations: 4 kB / 0.565 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.4045, allocations: 31.97 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.4049, allocations: 34.42 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.4055, allocations: 316.9 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.4059, allocations: 0.7158 MB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.4059, allocations: 15.44 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4059, allocations: 0 / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Templates: time 0.004062/0.41, allocations: 1.842 MB / 0.5679 GB, free: 13.68 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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: 7.944833939895034]