Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001549/0.001549, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001709/0.001709, allocations: 206.9 kB / 23.73 MB, free: 4.379 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2521/0.2521, allocations: 46.96 MB / 360.9 MB, free: 4.078 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test3,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 63.91 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3245, allocations: 66.03 MB / 0.5611 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003246/0.3277, allocations: 1.612 MB / 0.5627 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3289, allocations: 0.5349 MB / 0.5632 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.3289, allocations: 0 / 0.5632 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.3292, allocations: 75.72 kB / 0.5633 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.3296, allocations: 103.6 kB / 0.5634 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.3299, allocations: 119.3 kB / 0.5635 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.3301, allocations: 79.81 kB / 0.5636 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3302, allocations: 18.66 kB / 0.5636 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.3303, allocations: 35.84 kB / 0.5636 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.3304, allocations: 55.83 kB / 0.5637 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.3304, allocations: 0 / 0.5637 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3305, allocations: 43.97 kB / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.3306, allocations: 23.92 kB / 0.5637 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.3307, allocations: 31.73 kB / 0.5638 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.3309, allocations: 99.58 kB / 0.5639 GB, free: 1.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3309, allocations: 0 / 0.5639 GB, free: 1.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3309, allocations: 0 / 0.5639 GB, free: 1.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3309, allocations: 0 / 0.5639 GB, free: 1.535 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.0006407/0.3315, allocations: 345.6 kB / 0.5642 GB, free: 1.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3316, allocations: 8.031 kB / 0.5642 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.3316, allocations: 12.84 kB / 0.5642 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3319, allocations: 138.4 kB / 0.5643 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3319, allocations: 4.375 kB / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3319, allocations: 8.312 kB / 0.5643 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3321, allocations: 57.8 kB / 0.5644 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3321, allocations: 0 / 0.5644 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3321, allocations: 4 kB / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3322, allocations: 0 / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3323, allocations: 31.97 kB / 0.5644 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.3327, allocations: 244.4 kB / 0.5647 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3328, allocations: 46.5 kB / 0.5647 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.691e-05/0.3329, allocations: 20.94 kB / 0.5647 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3329, allocations: 3.984 kB / 0.5647 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.333, allocations: 30.56 kB / 0.5648 GB, free: 500 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.333, allocations: 0 / 0.5648 GB, free: 500 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009838/0.3339, allocations: 241.3 kB / 0.565 GB, free: 252 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.334, allocations: 55.41 kB / 0.565 GB, free: 184 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.3343, allocations: 199.4 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3343, allocations: 29.64 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.3344, allocations: 112 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.3344, allocations: 31.67 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.3345, allocations: 25.72 kB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3346, allocations: 326.8 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.106e-05/0.3347, allocations: 31.97 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.3348, allocations: 27.98 kB / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.335, allocations: 76.81 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.335, allocations: 0 / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002368/0.3353, allocations: 109.7 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3353, allocations: 12 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3353, allocations: 0 / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3353, allocations: 0 / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.3355, allocations: 23.92 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3355, allocations: 0 / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.3355, allocations: 11.98 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3355, allocations: 3.938 kB / 0.566 GB, free: 15.13 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.0001075/0.3356, allocations: 121.8 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.3357, allocations: 19.91 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.336, allocations: 135 kB / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.336, allocations: 0 / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.336, allocations: 0 / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.336, allocations: 0 / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.3366, allocations: 354.9 kB / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3366, allocations: 4 kB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.336e-05/0.3366, allocations: 15.98 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3366, allocations: 4.031 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3366, allocations: 8 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3366, allocations: 3.938 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3366, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.337, allocations: 220.2 kB / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.337, allocations: 3.953 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.337, allocations: 4 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3371, allocations: 7.938 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.3372, allocations: 3.984 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.3372, allocations: 12 kB / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3373, allocations: 149.8 kB / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3373, allocations: 7.938 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.3376, allocations: 19.94 kB / 0.5671 GB, free: 13.97 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.001848/0.3394, allocations: 496.1 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3397, allocations: 75.88 kB / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3397, allocations: 0 / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.736e-05/0.3398, allocations: 35.92 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.3401, allocations: 17.61 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.3407, allocations: 267.1 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.758e-05/0.3408, allocations: 96.23 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.566e-05/0.3409, allocations: 16.66 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.3409, allocations: 19.44 kB / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3409, allocations: 0 / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of Templates: time 0.005234/0.3462, allocations: 1.477 MB / 0.5695 GB, free: 11.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.217391446232796]