Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001721/0.001721, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002167/0.002167, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 8.242 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.2329/0.2329, allocations: 44.92 MB / 359.6 MB, free: 6.422 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.CombiTable1Dv.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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.00203/0.00203, allocations: 59.91 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3653, allocations: 65.47 MB / 0.5583 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003408/0.3687, allocations: 1.642 MB / 0.5599 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3698, allocations: 0.5582 MB / 0.5604 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.3699, allocations: 7.938 kB / 0.5604 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.3702, allocations: 107.7 kB / 0.5605 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.3706, allocations: 127.5 kB / 0.5606 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.3709, allocations: 111.7 kB / 0.5607 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.3711, allocations: 91.75 kB / 0.5608 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3712, allocations: 22.64 kB / 0.5609 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.3713, allocations: 39.84 kB / 0.5609 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.3714, allocations: 71.8 kB / 0.561 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3714, allocations: 0 / 0.561 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3715, allocations: 55.91 kB / 0.561 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.3716, allocations: 19.92 kB / 0.561 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.3717, allocations: 43.67 kB / 0.5611 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3719, allocations: 115.2 kB / 0.5612 GB, free: 4.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3719, allocations: 4 kB / 0.5612 GB, free: 4.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3719, allocations: 7.938 kB / 0.5612 GB, free: 4.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.3719, allocations: 0 / 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.0005348/0.3724, allocations: 353.5 kB / 0.5615 GB, free: 4.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.3725, allocations: 8.031 kB / 0.5615 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.3725, allocations: 12.89 kB / 0.5616 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3727, allocations: 147.1 kB / 0.5617 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-06/0.3727, allocations: 384 / 0.5617 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.3728, allocations: 8.375 kB / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3729, allocations: 61.73 kB / 0.5618 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3729, allocations: 7.953 kB / 0.5618 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3729, allocations: 4 kB / 0.5618 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3729, allocations: 0 / 0.5618 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3731, allocations: 27.97 kB / 0.5618 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.3735, allocations: 279.9 kB / 0.5621 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.3736, allocations: 50.48 kB / 0.5621 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.3737, allocations: 20.94 kB / 0.5621 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.3737, allocations: 4 kB / 0.5621 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.3737, allocations: 30.56 kB / 0.5622 GB, free: 3.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3737, allocations: 0 / 0.5622 GB, free: 3.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000931/0.3747, allocations: 245.1 kB / 0.5624 GB, free: 3.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3747, allocations: 55.41 kB / 0.5625 GB, free: 3.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.375, allocations: 266.8 kB / 0.5627 GB, free: 3.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.375, allocations: 25.7 kB / 0.5627 GB, free: 2.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.3751, allocations: 104.1 kB / 0.5628 GB, free: 2.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.3751, allocations: 27.75 kB / 0.5629 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.3752, allocations: 25.72 kB / 0.5629 GB, free: 2.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3753, allocations: 330.8 kB / 0.5632 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.671e-05/0.3754, allocations: 32.05 kB / 0.5632 GB, free: 2.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.3755, allocations: 31.91 kB / 0.5633 GB, free: 2.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.3757, allocations: 77.05 kB / 0.5633 GB, free: 2.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3757, allocations: 7.938 kB / 0.5633 GB, free: 2.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002317/0.3759, allocations: 121.5 kB / 0.5635 GB, free: 2.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3759, allocations: 4 kB / 0.5635 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3759, allocations: 0 / 0.5635 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3759, allocations: 0 / 0.5635 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.376, allocations: 19.98 kB / 0.5635 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.376, allocations: 0 / 0.5635 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.3761, allocations: 11.88 kB / 0.5635 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3761, allocations: 0 / 0.5635 GB, free: 2.188 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.0001148/0.3762, allocations: 137.8 kB / 0.5636 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.3763, allocations: 11.91 kB / 0.5636 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.3766, allocations: 135 kB / 0.5638 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3766, allocations: 0 / 0.5638 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3766, allocations: 0 / 0.5638 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3766, allocations: 3.938 kB / 0.5638 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.3772, allocations: 402.3 kB / 0.5642 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3772, allocations: 0 / 0.5642 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.202e-05/0.3772, allocations: 19.92 kB / 0.5642 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3772, allocations: 7.938 kB / 0.5642 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3773, allocations: 0 / 0.5642 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3773, allocations: 0 / 0.5642 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3773, allocations: 0 / 0.5642 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.3776, allocations: 224.3 kB / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.3776, allocations: 11.89 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3776, allocations: 0 / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.3777, allocations: 11.98 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.3777, allocations: 11.88 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3777, allocations: 0 / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.3779, allocations: 191.2 kB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3779, allocations: 0 / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.3782, allocations: 27.92 kB / 0.5646 GB, free: 0.9219 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.001716/0.3799, allocations: 464.2 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.3801, allocations: 71.89 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3801, allocations: 0 / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.3802, allocations: 39.97 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3806, allocations: 27.66 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.3812, allocations: 340.8 kB / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.3817, allocations: 0.7158 MB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.3817, allocations: 15.44 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3817, allocations: 0 / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Templates: time 0.004219/0.3859, allocations: 1.911 MB / 0.5681 GB, free: 13.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.983911445830017]