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.001424/0.001424, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001871/0.001871, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.603/1.603, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2357/0.2357, allocations: 44.94 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 179] 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.002121/0.002121, allocations: 63.91 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3823, allocations: 65.47 MB / 0.5575 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003563/0.3858, allocations: 1.608 MB / 0.559 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.387, allocations: 0.5232 MB / 0.5596 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.3871, allocations: 0 / 0.5596 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.3874, allocations: 107.7 kB / 0.5597 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.3877, allocations: 119.6 kB / 0.5598 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.388, allocations: 99.56 kB / 0.5599 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.3882, allocations: 87.8 kB / 0.56 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3883, allocations: 18.67 kB / 0.56 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.3884, allocations: 47.81 kB / 0.56 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.3886, allocations: 67.8 kB / 0.5601 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3886, allocations: 7.938 kB / 0.5601 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3887, allocations: 51.92 kB / 0.5601 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.3888, allocations: 23.86 kB / 0.5602 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.3888, allocations: 23.81 kB / 0.5602 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.389, allocations: 115.2 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.389, allocations: 0 / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.389, allocations: 0 / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3891, allocations: 4 kB / 0.5603 GB, free: 4.457 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.0005778/0.3896, allocations: 365.4 kB / 0.5606 GB, free: 4.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3897, allocations: 8.031 kB / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.3897, allocations: 12.89 kB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.3899, allocations: 151 kB / 0.5608 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.39, allocations: 4.375 kB / 0.5608 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.39, allocations: 4.375 kB / 0.5608 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3901, allocations: 61.78 kB / 0.5609 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3902, allocations: 7.953 kB / 0.5609 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3902, allocations: 4 kB / 0.5609 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3902, allocations: 0 / 0.5609 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3903, allocations: 27.98 kB / 0.5609 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.3907, allocations: 240.4 kB / 0.5611 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.3908, allocations: 42.55 kB / 0.5612 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.3908, allocations: 16.94 kB / 0.5612 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3909, allocations: 0 / 0.5612 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.3909, allocations: 42.5 kB / 0.5612 GB, free: 3.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3909, allocations: 0 / 0.5612 GB, free: 3.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000904/0.3918, allocations: 229.2 kB / 0.5615 GB, free: 3.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.3918, allocations: 55.41 kB / 0.5615 GB, free: 3.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.3921, allocations: 259 kB / 0.5618 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3922, allocations: 25.7 kB / 0.5618 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.3922, allocations: 112.1 kB / 0.5619 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3923, allocations: 31.8 kB / 0.5619 GB, free: 2.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.3923, allocations: 25.72 kB / 0.5619 GB, free: 2.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3925, allocations: 326.8 kB / 0.5623 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.3926, allocations: 27.98 kB / 0.5623 GB, free: 2.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.3926, allocations: 23.97 kB / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3928, allocations: 61.06 kB / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3928, allocations: 0 / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002219/0.393, allocations: 109.5 kB / 0.5625 GB, free: 2.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.393, allocations: 8 kB / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.393, allocations: 0 / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3931, allocations: 0 / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3932, allocations: 19.98 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3932, allocations: 7.875 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.3932, allocations: 7.984 kB / 0.5625 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.3932, allocations: 3.938 kB / 0.5625 GB, free: 2.004 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.000127/0.3933, allocations: 129.8 kB / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.3934, allocations: 15.89 kB / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.3937, allocations: 131 kB / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3937, allocations: 0 / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.3937, allocations: 4 kB / 0.5628 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3937, allocations: 0 / 0.5628 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/0.3942, allocations: 346.9 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3942, allocations: 0 / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.3943, allocations: 19.98 kB / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3943, allocations: 8.031 kB / 0.5631 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3943, allocations: 4 kB / 0.5631 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3943, allocations: 3.938 kB / 0.5631 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3943, allocations: 7.938 kB / 0.5632 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.3946, allocations: 200.3 kB / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.3946, allocations: 7.953 kB / 0.5634 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.3946, allocations: 4 kB / 0.5634 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.3947, allocations: 11.92 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.3948, allocations: 7.984 kB / 0.5634 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.3948, allocations: 8 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.395, allocations: 187.2 kB / 0.5636 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.395, allocations: 0 / 0.5636 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000258/0.3953, allocations: 19.94 kB / 0.5636 GB, free: 0.8281 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.001979/0.3972, allocations: 499.6 kB / 0.5641 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.3975, allocations: 63.95 kB / 0.5641 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3975, allocations: 0 / 0.5641 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.836e-05/0.3976, allocations: 39.86 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3979, allocations: 23.67 kB / 0.5642 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.3985, allocations: 283.2 kB / 0.5644 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3987, allocations: 105.8 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.3987, allocations: 12.66 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.3988, allocations: 15.44 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3988, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Templates: time 0.004699/0.4035, allocations: 1.445 MB / 0.566 GB, free: 14.53 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/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: 5.3419259916990995]