Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001474/0.001474, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00198/0.00198, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.548/1.548, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2208/0.2208, allocations: 44.92 MB / 359.6 MB, free: 6.285 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.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [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.002045/0.002045, allocations: 71.89 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 65.46 MB / 0.5583 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003223/0.3729, allocations: 1.64 MB / 0.5599 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3741, allocations: 0.5465 MB / 0.5604 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.3741, allocations: 3.938 kB / 0.5604 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.3745, allocations: 131.7 kB / 0.5605 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.3748, allocations: 127.5 kB / 0.5606 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.3751, allocations: 91.75 kB / 0.5607 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.3753, allocations: 95.73 kB / 0.5608 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3754, allocations: 19.78 kB / 0.5608 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.371e-05/0.3755, allocations: 43.83 kB / 0.5609 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.3756, allocations: 103.8 kB / 0.561 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3756, allocations: 4 kB / 0.561 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.3757, allocations: 43.98 kB / 0.561 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.3758, allocations: 27.86 kB / 0.5611 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.3759, allocations: 39.67 kB / 0.5611 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.3761, allocations: 126.2 kB / 0.5612 GB, free: 4.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3761, allocations: 4 kB / 0.5612 GB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3761, allocations: 0 / 0.5612 GB, free: 4.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.3761, allocations: 0 / 0.5612 GB, free: 4.828 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.000653/0.3768, allocations: 369.3 kB / 0.5616 GB, free: 4.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3768, allocations: 12.03 kB / 0.5616 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.3769, allocations: 12.84 kB / 0.5616 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3771, allocations: 166.3 kB / 0.5618 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3771, allocations: 384 / 0.5618 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.3772, allocations: 12.38 kB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3773, allocations: 49.81 kB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.3773, allocations: 3.984 kB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3774, allocations: 0 / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3774, allocations: 4 kB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3775, allocations: 31.92 kB / 0.5619 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.3779, allocations: 271.9 kB / 0.5621 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.378, allocations: 38.56 kB / 0.5622 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.3781, allocations: 24.8 kB / 0.5622 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3781, allocations: 0 / 0.5622 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.3782, allocations: 38.64 kB / 0.5622 GB, free: 3.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3782, allocations: 0 / 0.5622 GB, free: 3.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009232/0.3791, allocations: 241.2 kB / 0.5624 GB, free: 3.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.3791, allocations: 55.41 kB / 0.5625 GB, free: 3.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.3794, allocations: 275.8 kB / 0.5628 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3794, allocations: 25.7 kB / 0.5628 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.3795, allocations: 112.1 kB / 0.5629 GB, free: 2.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.3796, allocations: 31.73 kB / 0.5629 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3796, allocations: 21.66 kB / 0.5629 GB, free: 2.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3798, allocations: 330.8 kB / 0.5633 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.3798, allocations: 23.97 kB / 0.5633 GB, free: 2.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.466e-05/0.3799, allocations: 31.98 kB / 0.5633 GB, free: 2.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3801, allocations: 60.77 kB / 0.5634 GB, free: 2.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3801, allocations: 4 kB / 0.5634 GB, free: 2.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002044/0.3803, allocations: 93.58 kB / 0.5635 GB, free: 2.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3803, allocations: 8 kB / 0.5635 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3803, allocations: 0 / 0.5635 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3803, allocations: 4 kB / 0.5635 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3804, allocations: 23.98 kB / 0.5635 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3804, allocations: 320 / 0.5635 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.3805, allocations: 11.92 kB / 0.5635 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3805, allocations: 0 / 0.5635 GB, free: 2.293 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.0001222/0.3806, allocations: 139.1 kB / 0.5636 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.3806, allocations: 19.84 kB / 0.5637 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.3809, allocations: 127 kB / 0.5638 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3809, allocations: 4 kB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3809, allocations: 0 / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3809, allocations: 3.938 kB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.3815, allocations: 386.3 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3815, allocations: 0 / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.421e-05/0.3815, allocations: 19.94 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3816, allocations: 7.969 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3816, allocations: 7.984 kB / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3816, allocations: 4 kB / 0.5642 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3816, allocations: 0 / 0.5642 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.3818, allocations: 200.3 kB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.3819, allocations: 19.84 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3819, allocations: 4 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.382, allocations: 4 kB / 0.5644 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.382, allocations: 7.984 kB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.382, allocations: 4 kB / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.3822, allocations: 220.1 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3822, allocations: 0 / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3825, allocations: 23.88 kB / 0.5647 GB, free: 1.027 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.001743/0.3842, allocations: 455.8 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.3845, allocations: 59.95 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3845, allocations: 0 / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.742e-05/0.3845, allocations: 35.92 kB / 0.5652 GB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3849, allocations: 23.77 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.3856, allocations: 342.2 kB / 0.5655 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.386, allocations: 0.7197 MB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.386, allocations: 19.42 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.386, allocations: 3.938 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Templates: time 0.004232/0.3903, allocations: 1.904 MB / 0.5681 GB, free: 13.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: 7.986032671993598]