Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001358/0.001358, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001546/0.001546, allocations: 215.3 kB / 23.73 MB, free: 4.156 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.559/1.559, 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.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.2402/0.2402, allocations: 46.95 MB / 360.9 MB, free: 4.023 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 67.89 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3414, allocations: 66.04 MB / 0.5611 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003722/0.3451, allocations: 1.632 MB / 0.5627 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3462, allocations: 0.5427 MB / 0.5632 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.3463, allocations: 0 / 0.5632 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.3467, allocations: 95.67 kB / 0.5633 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.347, allocations: 115.6 kB / 0.5634 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.3473, allocations: 119.3 kB / 0.5635 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.3475, allocations: 103.7 kB / 0.5636 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3476, allocations: 22.66 kB / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.728e-05/0.3477, allocations: 51.77 kB / 0.5637 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.3479, allocations: 63.8 kB / 0.5638 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3479, allocations: 4 kB / 0.5638 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3481, allocations: 43.98 kB / 0.5638 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.3481, allocations: 27.92 kB / 0.5639 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.3482, allocations: 39.72 kB / 0.5639 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.3484, allocations: 139.3 kB / 0.564 GB, free: 1.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3484, allocations: 4 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3484, allocations: 0 / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3484, allocations: 0 / 0.564 GB, free: 1.32 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000548/0.349, allocations: 357.5 kB / 0.5644 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.349, allocations: 8.031 kB / 0.5644 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.349, allocations: 16.84 kB / 0.5644 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.3493, allocations: 166.2 kB / 0.5645 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3493, allocations: 384 / 0.5645 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.3493, allocations: 8.375 kB / 0.5646 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3495, allocations: 77.78 kB / 0.5646 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3495, allocations: 7.953 kB / 0.5646 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3495, allocations: 0 / 0.5646 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3495, allocations: 4 kB / 0.5646 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3497, allocations: 43.97 kB / 0.5647 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.3501, allocations: 280.3 kB / 0.565 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.3503, allocations: 62.55 kB / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.143e-05/0.3503, allocations: 24.78 kB / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3504, allocations: 4 kB / 0.565 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3504, allocations: 34.56 kB / 0.5651 GB, free: 140 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3504, allocations: 0 / 0.5651 GB, free: 140 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001109/0.3515, allocations: 333.8 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.3516, allocations: 63.34 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.3519, allocations: 235.6 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3519, allocations: 29.7 kB / 0.5657 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.352, allocations: 116 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.352, allocations: 39.64 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.3521, allocations: 25.72 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.3523, allocations: 334.8 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3524, allocations: 47.97 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3525, allocations: 43.97 kB / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.3528, allocations: 116.2 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3528, allocations: 0 / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003338/0.3531, allocations: 153.5 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3531, allocations: 4 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3531, allocations: 4.234 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3532, allocations: 0 / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.3533, allocations: 27.92 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3533, allocations: 3.984 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.3533, allocations: 11.98 kB / 0.5666 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3534, allocations: 8 kB / 0.5666 GB, free: 14.5 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 (13): * Single equations (assignments): 13 * 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.0001217/0.3535, allocations: 138.3 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.3535, allocations: 11.91 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.3539, allocations: 190.9 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.3539, allocations: 7.922 kB / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3539, allocations: 0 / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3539, allocations: 4 kB / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/0.3546, allocations: 434.7 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3546, allocations: 0 / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.767e-05/0.3547, allocations: 23.98 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.3547, allocations: 4 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3547, allocations: 0 / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3547, allocations: 0 / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3547, allocations: 0 / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.3551, allocations: 260.1 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.3551, allocations: 19.92 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.3551, allocations: 8 kB / 0.5677 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.3552, allocations: 8 kB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3553, allocations: 11.98 kB / 0.5677 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3553, allocations: 11.88 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3555, allocations: 181.1 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3555, allocations: 0 / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.3557, allocations: 28 kB / 0.5679 GB, free: 13.11 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 (13): * Single equations (assignments): 13 * 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.001867/0.3576, allocations: 0.4885 MB / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.3579, allocations: 107.9 kB / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3579, allocations: 0 / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.3581, allocations: 63.84 kB / 0.5685 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3585, allocations: 31.77 kB / 0.5686 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.3591, allocations: 327.7 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.3592, allocations: 113.5 kB / 0.569 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.698e-05/0.3593, allocations: 28.53 kB / 0.569 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.3594, allocations: 19.42 kB / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3594, allocations: 4 kB / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of Templates: time 0.004976/0.3643, allocations: 1.669 MB / 0.5707 GB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.287738451734185]