Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.001742/0.001742, 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.002179/0.002179, 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.051 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.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") [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.002079/0.002079, allocations: 70.41 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3198, allocations: 65.47 MB / 0.5575 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003377/0.3232, allocations: 1.641 MB / 0.5591 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.3252, allocations: 1.248 MB / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.3252, allocations: 0 / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.3254, allocations: 15.86 kB / 0.5603 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.3257, allocations: 87.61 kB / 0.5604 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.3261, allocations: 139.5 kB / 0.5605 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.3263, allocations: 79.77 kB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.3264, allocations: 12 kB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.3264, allocations: 31.78 kB / 0.5606 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3265, allocations: 31.84 kB / 0.5607 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3265, allocations: 4 kB / 0.5607 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3267, allocations: 95.88 kB / 0.5608 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.3268, allocations: 23.97 kB / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.3268, allocations: 15.88 kB / 0.5608 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.3271, allocations: 141.9 kB / 0.5609 GB, free: 3.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3271, allocations: 0 / 0.5609 GB, free: 3.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3271, allocations: 0 / 0.5609 GB, free: 3.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3271, allocations: 4 kB / 0.5609 GB, free: 3.883 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.0005223/0.3276, allocations: 345.6 kB / 0.5613 GB, free: 3.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3276, allocations: 8.031 kB / 0.5613 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.3277, allocations: 8.891 kB / 0.5613 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.3279, allocations: 142.4 kB / 0.5614 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3279, allocations: 4.375 kB / 0.5614 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.3279, allocations: 4.375 kB / 0.5614 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3281, allocations: 101.2 kB / 0.5615 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3281, allocations: 0 / 0.5615 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3282, allocations: 7.984 kB / 0.5615 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3282, allocations: 4 kB / 0.5615 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.3283, allocations: 39.91 kB / 0.5616 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.3286, allocations: 224.5 kB / 0.5618 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.3288, allocations: 46.55 kB / 0.5618 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.3288, allocations: 24.94 kB / 0.5619 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3289, allocations: 0 / 0.5619 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3289, allocations: 38.5 kB / 0.5619 GB, free: 2.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3289, allocations: 0 / 0.5619 GB, free: 2.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007749/0.3297, allocations: 209.4 kB / 0.5621 GB, free: 2.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.3298, allocations: 85.09 kB / 0.5622 GB, free: 2.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.33, allocations: 144.6 kB / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.84e-05/0.3301, allocations: 33.7 kB / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.3301, allocations: 88.14 kB / 0.5624 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.3302, allocations: 27.73 kB / 0.5625 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.3302, allocations: 21.72 kB / 0.5625 GB, free: 2.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.3304, allocations: 326.7 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.3306, allocations: 35.97 kB / 0.5628 GB, free: 1.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3307, allocations: 67.39 kB / 0.5629 GB, free: 1.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.3309, allocations: 77.08 kB / 0.563 GB, free: 1.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3309, allocations: 0 / 0.563 GB, free: 1.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002996/0.3312, allocations: 125.4 kB / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3312, allocations: 7.984 kB / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3312, allocations: 0 / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3313, allocations: 0 / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3314, allocations: 23.98 kB / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3314, allocations: 0 / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.3315, allocations: 15.98 kB / 0.5631 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3315, allocations: 3.938 kB / 0.5631 GB, free: 1.438 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 (7): * Single equations (assignments): 7 * 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.0001103/0.3316, allocations: 113.8 kB / 0.5632 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.3316, allocations: 7.953 kB / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.332, allocations: 130.3 kB / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.332, allocations: 0 / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.332, allocations: 0 / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.332, allocations: 3.984 kB / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.3325, allocations: 326.1 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3325, allocations: 0 / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.178e-05/0.3326, allocations: 23.92 kB / 0.5637 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3326, allocations: 7.984 kB / 0.5637 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.3326, allocations: 0 / 0.5637 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3326, allocations: 4 kB / 0.5637 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3326, allocations: 3.938 kB / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.333, allocations: 207.5 kB / 0.5639 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.333, allocations: 3.953 kB / 0.5639 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.333, allocations: 7.984 kB / 0.5639 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.3331, allocations: 12 kB / 0.5639 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.3332, allocations: 15.92 kB / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.3332, allocations: 0 / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3333, allocations: 113.8 kB / 0.5641 GB, free: 412 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3333, allocations: 0 / 0.5641 GB, free: 412 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.3336, allocations: 43.81 kB / 0.5641 GB, free: 368 kB / 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 (7): * Single equations (assignments): 7 * 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.001903/0.3355, allocations: 0.529 MB / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.3358, allocations: 75.94 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3358, allocations: 4 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3359, allocations: 39.91 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3362, allocations: 19.98 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.3367, allocations: 209.8 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.683e-05/0.3368, allocations: 87.66 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.796e-05/0.3369, allocations: 20.22 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.3369, allocations: 19.42 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3369, allocations: 0 / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Templates: time 0.005347/0.3423, allocations: 1.966 MB / 0.567 GB, free: 13.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.25329152867198]