Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001705/0.001705, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002252/0.002252, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2404/0.2404, allocations: 46.95 MB / 360.9 MB, free: 4.035 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+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.Test31,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 63.91 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3673, allocations: 66.03 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003225/0.3705, allocations: 1.613 MB / 0.5627 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3716, allocations: 0.531 MB / 0.5632 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.3716, allocations: 8 kB / 0.5632 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.3719, allocations: 119.6 kB / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.3723, allocations: 127.5 kB / 0.5634 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.3726, allocations: 119.3 kB / 0.5635 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.3728, allocations: 99.78 kB / 0.5636 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3729, allocations: 11.66 kB / 0.5636 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.373, allocations: 55.81 kB / 0.5637 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3732, allocations: 95.7 kB / 0.5638 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3732, allocations: 4 kB / 0.5638 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3733, allocations: 47.98 kB / 0.5638 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.3734, allocations: 31.83 kB / 0.5639 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.3735, allocations: 27.75 kB / 0.5639 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.3737, allocations: 122.2 kB / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3738, allocations: 0 / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3738, allocations: 0 / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.3738, allocations: 0 / 0.564 GB, free: 1.168 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.000673/0.3744, allocations: 369.3 kB / 0.5644 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3745, allocations: 8.031 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.3745, allocations: 20.84 kB / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.3748, allocations: 166.4 kB / 0.5646 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3748, allocations: 384 / 0.5646 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.3748, allocations: 384 / 0.5646 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.375, allocations: 61.8 kB / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.375, allocations: 0 / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3751, allocations: 0 / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3751, allocations: 0 / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3752, allocations: 27.98 kB / 0.5646 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.3757, allocations: 264.3 kB / 0.5649 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3758, allocations: 38.56 kB / 0.5649 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.3758, allocations: 24.92 kB / 0.565 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.3759, allocations: 0 / 0.565 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.3759, allocations: 38.5 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3759, allocations: 0 / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001137/0.3771, allocations: 249.2 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3771, allocations: 63.33 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.3775, allocations: 271.8 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3775, allocations: 25.7 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3776, allocations: 116.1 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.3777, allocations: 31.73 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.3777, allocations: 21.72 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3779, allocations: 330.8 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.378, allocations: 31.97 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.3781, allocations: 31.89 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.3783, allocations: 72.81 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3783, allocations: 0 / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002571/0.3785, allocations: 113.7 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3785, allocations: 12 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3785, allocations: 4.078 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3786, allocations: 0 / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3787, allocations: 15.98 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3787, allocations: 7.984 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.3787, allocations: 7.984 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.3787, allocations: 7.938 kB / 0.5663 GB, free: 14.6 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.0001187/0.3789, allocations: 135.1 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.3789, allocations: 15.91 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.3792, allocations: 135 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3792, allocations: 0 / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3792, allocations: 4 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3792, allocations: 3.938 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.3798, allocations: 370.9 kB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3798, allocations: 0 / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.446e-05/0.3799, allocations: 15.98 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3799, allocations: 4.031 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3799, allocations: 8 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3799, allocations: 3.938 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3799, allocations: 3.938 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.3802, allocations: 220.2 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.3802, allocations: 11.91 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3803, allocations: 0 / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.3803, allocations: 11.92 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.3804, allocations: 8 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.3804, allocations: 8 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.3806, allocations: 212.1 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3806, allocations: 0 / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.3809, allocations: 19.94 kB / 0.5675 GB, free: 13.36 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.001941/0.3828, allocations: 498.6 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.3831, allocations: 79.92 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3831, allocations: 0 / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3832, allocations: 40.08 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.3836, allocations: 34.28 kB / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.3842, allocations: 320.3 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.3844, allocations: 109.1 kB / 0.5685 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.314e-05/0.3844, allocations: 16.66 kB / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.3845, allocations: 15.44 kB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3845, allocations: 0 / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.004956/0.3894, allocations: 1.527 MB / 0.57 GB, free: 10.92 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.269067560322583]