Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001322/0.001322, 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.001462/0.001462, 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2219/0.2219, allocations: 44.91 MB / 359.6 MB, free: 6.363 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [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.002312/0.002312, allocations: 68.08 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3736, allocations: 65.47 MB / 0.5583 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.004499/0.3781, allocations: 1.619 MB / 0.5598 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3794, allocations: 0.5582 MB / 0.5604 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.3796, allocations: 4 kB / 0.5604 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.3798, allocations: 19.86 kB / 0.5604 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.3803, allocations: 87.61 kB / 0.5605 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.3807, allocations: 119.5 kB / 0.5606 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.3809, allocations: 59.84 kB / 0.5607 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3811, allocations: 19.92 kB / 0.5607 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.3811, allocations: 19.94 kB / 0.5607 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.3812, allocations: 23.84 kB / 0.5607 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3812, allocations: 4 kB / 0.5607 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3814, allocations: 35.98 kB / 0.5608 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.3814, allocations: 19.92 kB / 0.5608 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.3815, allocations: 23.8 kB / 0.5608 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.3817, allocations: 89.94 kB / 0.5609 GB, free: 5.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3817, allocations: 4 kB / 0.5609 GB, free: 5.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.4e-06/0.3817, allocations: 3.984 kB / 0.5609 GB, free: 5.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3817, allocations: 0 / 0.5609 GB, free: 5.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006035/0.3823, allocations: 317.8 kB / 0.5612 GB, free: 4.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3824, allocations: 8.031 kB / 0.5612 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.3824, allocations: 12.84 kB / 0.5612 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.3827, allocations: 140.2 kB / 0.5614 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.3827, allocations: 384 / 0.5614 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.3827, allocations: 3.938 kB / 0.5614 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3829, allocations: 57.61 kB / 0.5614 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3829, allocations: 0 / 0.5614 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3829, allocations: 4 kB / 0.5614 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3829, allocations: 4 kB / 0.5614 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.383, allocations: 19.98 kB / 0.5614 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.3835, allocations: 252 kB / 0.5617 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.3837, allocations: 54.44 kB / 0.5617 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.3838, allocations: 20.92 kB / 0.5618 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3838, allocations: 4 kB / 0.5618 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3839, allocations: 34.56 kB / 0.5618 GB, free: 3.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.3839, allocations: 0 / 0.5618 GB, free: 3.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006583/0.3845, allocations: 149.4 kB / 0.5619 GB, free: 3.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3846, allocations: 59.41 kB / 0.562 GB, free: 3.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.3848, allocations: 182.1 kB / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3848, allocations: 25.7 kB / 0.5622 GB, free: 3.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.3849, allocations: 96.12 kB / 0.5623 GB, free: 3.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3849, allocations: 19.84 kB / 0.5623 GB, free: 3.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.385, allocations: 17.72 kB / 0.5623 GB, free: 3.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3851, allocations: 318.8 kB / 0.5626 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.3852, allocations: 19.98 kB / 0.5626 GB, free: 3.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.3853, allocations: 32.03 kB / 0.5627 GB, free: 3.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.3854, allocations: 52.83 kB / 0.5627 GB, free: 2.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3854, allocations: 0 / 0.5627 GB, free: 2.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002044/0.3856, allocations: 97.44 kB / 0.5628 GB, free: 2.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3856, allocations: 4 kB / 0.5628 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3856, allocations: 0 / 0.5628 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3856, allocations: 0 / 0.5628 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.3857, allocations: 16 kB / 0.5628 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3857, allocations: 3.984 kB / 0.5628 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.3858, allocations: 11.94 kB / 0.5628 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3858, allocations: 0 / 0.5628 GB, free: 2.836 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 (5): * Single equations (assignments): 5 * 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.0001209/0.3859, allocations: 121.8 kB / 0.563 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.3859, allocations: 7.953 kB / 0.563 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.3862, allocations: 102 kB / 0.5631 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3862, allocations: 0 / 0.5631 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3862, allocations: 0 / 0.5631 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.3862, allocations: 7.922 kB / 0.5631 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.3867, allocations: 329.6 kB / 0.5634 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3867, allocations: 0 / 0.5634 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.3868, allocations: 16.25 kB / 0.5634 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3868, allocations: 4 kB / 0.5634 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.3868, allocations: 15.86 kB / 0.5634 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3868, allocations: 4 kB / 0.5634 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3868, allocations: 0 / 0.5634 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.3871, allocations: 179.5 kB / 0.5636 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.3871, allocations: 11.91 kB / 0.5636 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3871, allocations: 3.938 kB / 0.5636 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.3872, allocations: 8 kB / 0.5636 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.3873, allocations: 7.984 kB / 0.5636 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3873, allocations: 0 / 0.5636 GB, free: 1.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.3874, allocations: 135.2 kB / 0.5638 GB, free: 1.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3874, allocations: 0 / 0.5638 GB, free: 1.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000264/0.3876, allocations: 15.94 kB / 0.5638 GB, free: 1.797 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001537/0.3892, allocations: 404.6 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.3894, allocations: 55.95 kB / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3894, allocations: 0 / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.3895, allocations: 23.98 kB / 0.5642 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3899, allocations: 23.91 kB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.3904, allocations: 231.6 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3908, allocations: 0.7079 MB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.3908, allocations: 15.44 kB / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3908, allocations: 0 / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of Templates: time 0.00405/0.3948, allocations: 1.507 MB / 0.5667 GB, free: 14.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.631133856019005]