Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001506/0.001506, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001803/0.001803, allocations: 206.6 kB / 24.47 MB, free: 3.977 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 / 258.3 MB, free: 7.789 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.2257/0.2257, allocations: 46.97 MB / 361.6 MB, free: 4.031 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.CombiTable1Ds.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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 71.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.343, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003242/0.3462, allocations: 1.633 MB / 0.5634 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3475, allocations: 0.5309 MB / 0.564 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.3475, allocations: 0 / 0.564 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.3479, allocations: 95.67 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.3482, allocations: 115.6 kB / 0.5642 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.3485, allocations: 99.58 kB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.3487, allocations: 103.7 kB / 0.5643 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3489, allocations: 18.67 kB / 0.5644 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.13e-05/0.3489, allocations: 47.83 kB / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3491, allocations: 67.73 kB / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3491, allocations: 4 kB / 0.5645 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3492, allocations: 43.98 kB / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.3493, allocations: 35.84 kB / 0.5646 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.514e-05/0.3493, allocations: 31.8 kB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.3496, allocations: 131.1 kB / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3496, allocations: 0 / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3496, allocations: 0 / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3496, allocations: 0 / 0.5647 GB, free: 1.227 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005975/0.3502, allocations: 365.4 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3502, allocations: 12.03 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.3503, allocations: 12.84 kB / 0.5651 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.3505, allocations: 154.2 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3505, allocations: 4.375 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.3505, allocations: 4.375 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3507, allocations: 77.73 kB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.3507, allocations: 7.938 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3508, allocations: 4 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3508, allocations: 0 / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3509, allocations: 39.91 kB / 0.5654 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.3513, allocations: 264.4 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.3514, allocations: 66.48 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.3515, allocations: 20.86 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.3515, allocations: 7.984 kB / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3516, allocations: 30.56 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3516, allocations: 0 / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001068/0.3526, allocations: 309.6 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.3527, allocations: 63.34 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3529, allocations: 235.6 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.353, allocations: 29.7 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.353, allocations: 116 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.3531, allocations: 51.66 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.3531, allocations: 25.66 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3533, allocations: 326.8 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/0.3534, allocations: 35.97 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.458e-05/0.3534, allocations: 35.98 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.3536, allocations: 92.83 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3536, allocations: 0 / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002733/0.3539, allocations: 137.5 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3539, allocations: 8 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3539, allocations: 0 / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.354, allocations: 0 / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3541, allocations: 31.92 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3541, allocations: 3.938 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.3541, allocations: 12 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3541, allocations: 7.984 kB / 0.5672 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.0001112/0.3543, allocations: 126.4 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.3543, allocations: 15.91 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.3547, allocations: 167.1 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3547, allocations: 4 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3547, allocations: 3.938 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3547, allocations: 3.938 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.3553, allocations: 410.8 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3553, allocations: 3.938 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.3554, allocations: 27.92 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3554, allocations: 0 / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3554, allocations: 4 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3554, allocations: 3.984 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3554, allocations: 0 / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.3557, allocations: 240.3 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.3557, allocations: 19.84 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.3558, allocations: 4 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.3558, allocations: 7.984 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.3559, allocations: 11.98 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3559, allocations: 4 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.356, allocations: 185.1 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.356, allocations: 0 / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.3563, allocations: 27.94 kB / 0.5684 GB, free: 13.19 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.001721/0.358, allocations: 0.4896 MB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.3583, allocations: 95.88 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3583, allocations: 4 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3584, allocations: 47.92 kB / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3588, allocations: 32.67 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.3593, allocations: 311.7 kB / 0.5693 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3594, allocations: 101.5 kB / 0.5694 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.538e-05/0.3595, allocations: 24.53 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.3596, allocations: 15.44 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3596, allocations: 3.938 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of Templates: time 0.004883/0.3644, allocations: 1.655 MB / 0.5711 GB, free: 10.6 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.134239122009603]