Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001455/0.001455, allocations: 112.5 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.001745/0.001745, 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.532/1.532, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.2269/0.2269, allocations: 44.91 MB / 359.6 MB, free: 6.34 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [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.00276/0.00276, allocations: 71.84 kB / 0.4944 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.417, allocations: 65.46 MB / 0.5583 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003446/0.4205, allocations: 1.687 MB / 0.5599 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.4217, allocations: 0.5698 MB / 0.5605 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.4217, allocations: 4 kB / 0.5605 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006299/0.4223, allocations: 459.1 kB / 0.5609 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005267/0.4229, allocations: 295.3 kB / 0.5612 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.4233, allocations: 127.6 kB / 0.5613 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.4235, allocations: 175.6 kB / 0.5615 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.4236, allocations: 12 kB / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.4238, allocations: 115.7 kB / 0.5616 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.4241, allocations: 247.5 kB / 0.5618 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.4241, allocations: 4 kB / 0.5619 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.4242, allocations: 59.91 kB / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.4243, allocations: 83.69 kB / 0.562 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.138e-05/0.4244, allocations: 99 kB / 0.5621 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.4248, allocations: 284.9 kB / 0.5624 GB, free: 3.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4248, allocations: 0 / 0.5624 GB, free: 3.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4248, allocations: 0 / 0.5624 GB, free: 3.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.4248, allocations: 0 / 0.5624 GB, free: 3.496 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008036/0.4256, allocations: 0.5892 MB / 0.5629 GB, free: 2.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.4257, allocations: 8.031 kB / 0.5629 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.4257, allocations: 52.59 kB / 0.563 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.426, allocations: 234.8 kB / 0.5632 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.426, allocations: 16.36 kB / 0.5632 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.4261, allocations: 384 / 0.5632 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.4262, allocations: 57.81 kB / 0.5633 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4262, allocations: 0 / 0.5633 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.4263, allocations: 3.938 kB / 0.5633 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4263, allocations: 4 kB / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.4264, allocations: 35.91 kB / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.4269, allocations: 371.8 kB / 0.5637 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.427, allocations: 42.59 kB / 0.5637 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.4271, allocations: 16.86 kB / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.4271, allocations: 0 / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.4271, allocations: 38.64 kB / 0.5638 GB, free: 1.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4271, allocations: 0 / 0.5638 GB, free: 1.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009898/0.4281, allocations: 312.9 kB / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.4282, allocations: 59.34 kB / 0.5641 GB, free: 1.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009334/0.4291, allocations: 0.8653 MB / 0.565 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.4291, allocations: 33.7 kB / 0.565 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.4293, allocations: 216.1 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.4294, allocations: 31.73 kB / 0.5652 GB, free: 380 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.4294, allocations: 17.72 kB / 0.5653 GB, free: 356 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.4296, allocations: 366.8 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.4297, allocations: 23.92 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.065e-05/0.4298, allocations: 31.98 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.43, allocations: 64.81 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.43, allocations: 0 / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002545/0.4302, allocations: 133.4 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.4302, allocations: 11.98 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4302, allocations: 0 / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4303, allocations: 3.938 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.4304, allocations: 19.92 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.4304, allocations: 11.94 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.4304, allocations: 0 / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4305, allocations: 4 kB / 0.5659 GB, free: 15.67 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.0002335/0.4307, allocations: 213.8 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.4308, allocations: 47.67 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.4311, allocations: 161.4 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4311, allocations: 0 / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4311, allocations: 3.938 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4311, allocations: 0 / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.4318, allocations: 486.2 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4318, allocations: 3.938 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/0.4319, allocations: 23.98 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4319, allocations: 4.031 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.4319, allocations: 0 / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4319, allocations: 480 / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4319, allocations: 7.984 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.4322, allocations: 244 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.4323, allocations: 43.64 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.4323, allocations: 4 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.4324, allocations: 4 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.4325, allocations: 11.98 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.4325, allocations: 0 / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007068/0.4332, allocations: 0.6511 MB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4332, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.4335, allocations: 31.98 kB / 0.5678 GB, free: 13.66 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.001798/0.4353, allocations: 467.5 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.4355, allocations: 67.83 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4355, allocations: 0 / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.4356, allocations: 35.98 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.436, allocations: 31.92 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4373, allocations: 0.856 MB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.4379, allocations: 0.8299 MB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.4379, allocations: 15.44 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4379, allocations: 4 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Templates: time 0.007825/0.4457, allocations: 3.96 MB / 0.5739 GB, free: 7.527 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.921046259114519]