Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.002012/0.002012, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002532/0.002532, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2393/0.2393, allocations: 44.93 MB / 359.6 MB, free: 6.145 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.CombiTable1Dv.Test31,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.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.CombiTable1Dv.Test31") [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.002411/0.002411, allocations: 70.41 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3413, allocations: 65.47 MB / 0.5582 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003334/0.3446, allocations: 1.609 MB / 0.5598 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3458, allocations: 0.531 MB / 0.5603 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.3458, allocations: 0 / 0.5603 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.3462, allocations: 135.6 kB / 0.5604 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.3465, allocations: 127.6 kB / 0.5605 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.3468, allocations: 115.1 kB / 0.5607 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.347, allocations: 99.73 kB / 0.5608 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3471, allocations: 19.64 kB / 0.5608 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.613e-05/0.3472, allocations: 43.88 kB / 0.5608 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3473, allocations: 95.77 kB / 0.5609 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3474, allocations: 4 kB / 0.5609 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3475, allocations: 47.92 kB / 0.561 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.3475, allocations: 31.84 kB / 0.561 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.3476, allocations: 27.75 kB / 0.561 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3478, allocations: 122.3 kB / 0.5611 GB, free: 4.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3478, allocations: 0 / 0.5611 GB, free: 4.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3478, allocations: 0 / 0.5611 GB, free: 4.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3478, allocations: 0 / 0.5611 GB, free: 4.465 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.0005657/0.3484, allocations: 361.4 kB / 0.5615 GB, free: 4.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3484, allocations: 16.03 kB / 0.5615 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.3485, allocations: 16.78 kB / 0.5615 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.3487, allocations: 170.3 kB / 0.5617 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.3487, allocations: 4.375 kB / 0.5617 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3487, allocations: 4.375 kB / 0.5617 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3489, allocations: 57.8 kB / 0.5617 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3489, allocations: 0 / 0.5617 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3489, allocations: 7.984 kB / 0.5617 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3489, allocations: 0 / 0.5617 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.995e-05/0.349, allocations: 27.97 kB / 0.5618 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.3494, allocations: 252.4 kB / 0.562 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3495, allocations: 42.55 kB / 0.562 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.3496, allocations: 16.86 kB / 0.5621 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3496, allocations: 4 kB / 0.5621 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3497, allocations: 34.64 kB / 0.5621 GB, free: 3.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3497, allocations: 3.938 kB / 0.5621 GB, free: 3.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009401/0.3506, allocations: 261.1 kB / 0.5624 GB, free: 3.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3506, allocations: 51.41 kB / 0.5624 GB, free: 3.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.351, allocations: 271.8 kB / 0.5627 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.351, allocations: 25.7 kB / 0.5627 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.3511, allocations: 116.1 kB / 0.5628 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.3511, allocations: 27.73 kB / 0.5628 GB, free: 2.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.3512, allocations: 21.72 kB / 0.5628 GB, free: 2.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3513, allocations: 334.8 kB / 0.5632 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.953e-05/0.3514, allocations: 35.91 kB / 0.5632 GB, free: 2.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.3515, allocations: 27.98 kB / 0.5632 GB, free: 2.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.3517, allocations: 76.81 kB / 0.5633 GB, free: 2.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3517, allocations: 0 / 0.5633 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002364/0.3519, allocations: 113.5 kB / 0.5634 GB, free: 1.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3519, allocations: 6.656 kB / 0.5634 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3519, allocations: 4 kB / 0.5634 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3519, allocations: 0 / 0.5634 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3521, allocations: 19.98 kB / 0.5634 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3521, allocations: 3.938 kB / 0.5634 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.3521, allocations: 7.984 kB / 0.5634 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3521, allocations: 7.938 kB / 0.5635 GB, free: 1.902 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.0001286/0.3522, allocations: 139.1 kB / 0.5636 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.3523, allocations: 11.91 kB / 0.5636 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.3526, allocations: 143.3 kB / 0.5637 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3526, allocations: 0 / 0.5637 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.3526, allocations: 4 kB / 0.5637 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3526, allocations: 0 / 0.5637 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.3532, allocations: 374.9 kB / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3532, allocations: 0 / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.3533, allocations: 19.98 kB / 0.5641 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3533, allocations: 0 / 0.5641 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3533, allocations: 4.031 kB / 0.5641 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.3533, allocations: 7.938 kB / 0.5641 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.3533, allocations: 7.984 kB / 0.5641 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.3536, allocations: 212.2 kB / 0.5643 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.3536, allocations: 12.33 kB / 0.5643 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3536, allocations: 4 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.3537, allocations: 11.92 kB / 0.5644 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.3538, allocations: 0 / 0.5644 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3538, allocations: 11.98 kB / 0.5644 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.354, allocations: 212.1 kB / 0.5646 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.354, allocations: 0 / 0.5646 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3542, allocations: 23.94 kB / 0.5646 GB, free: 0.6523 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.001905/0.3561, allocations: 0.4919 MB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3564, allocations: 67.95 kB / 0.5651 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3564, allocations: 4 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.927e-05/0.3565, allocations: 35.92 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3569, allocations: 27.02 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.3576, allocations: 358 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.3577, allocations: 109.1 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.3577, allocations: 19.44 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3577, allocations: 0 / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Templates: time 0.004628/0.3624, allocations: 1.992 MB / 0.5676 GB, free: 13.71 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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: 8.173820009920746]