Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001563/0.001563, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001899/0.001899, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2265/0.2265, allocations: 44.94 MB / 358.8 MB, free: 6.156 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.CombiTable1Dv.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") [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.002182/0.002182, allocations: 67.91 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3489, allocations: 65.47 MB / 0.5575 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003125/0.3521, allocations: 1.609 MB / 0.559 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3531, allocations: 0.5349 MB / 0.5596 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.3532, allocations: 0 / 0.5596 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.3535, allocations: 79.7 kB / 0.5596 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.3538, allocations: 103.6 kB / 0.5597 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.3541, allocations: 115.2 kB / 0.5599 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3543, allocations: 91.73 kB / 0.5599 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3544, allocations: 15.66 kB / 0.56 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.3545, allocations: 39.89 kB / 0.56 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3546, allocations: 55.77 kB / 0.56 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.3546, allocations: 7.938 kB / 0.5601 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3547, allocations: 51.97 kB / 0.5601 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.3547, allocations: 19.92 kB / 0.5601 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.3548, allocations: 23.8 kB / 0.5601 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.355, allocations: 102.3 kB / 0.5602 GB, free: 4.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.355, allocations: 0 / 0.5602 GB, free: 4.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.355, allocations: 0 / 0.5602 GB, free: 4.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.355, allocations: 0 / 0.5602 GB, free: 4.668 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.0004931/0.3555, allocations: 345.6 kB / 0.5606 GB, free: 4.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.3555, allocations: 11.97 kB / 0.5606 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.3556, allocations: 20.84 kB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.3558, allocations: 147 kB / 0.5607 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3558, allocations: 4.375 kB / 0.5607 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.3558, allocations: 384 / 0.5607 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3559, allocations: 57.81 kB / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.356, allocations: 0 / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.356, allocations: 3.984 kB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.356, allocations: 0 / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.801e-05/0.3561, allocations: 31.97 kB / 0.5608 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.3565, allocations: 252.3 kB / 0.5611 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3566, allocations: 50.55 kB / 0.5611 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.3567, allocations: 12.86 kB / 0.5611 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3567, allocations: 4.078 kB / 0.5611 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3567, allocations: 38.5 kB / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3567, allocations: 0 / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000925/0.3576, allocations: 237.2 kB / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.3577, allocations: 55.41 kB / 0.5615 GB, free: 3.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.3579, allocations: 206.3 kB / 0.5617 GB, free: 3.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3579, allocations: 29.64 kB / 0.5617 GB, free: 3.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.358, allocations: 116 kB / 0.5618 GB, free: 2.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.358, allocations: 31.73 kB / 0.5618 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.3581, allocations: 21.72 kB / 0.5618 GB, free: 2.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3582, allocations: 326.8 kB / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.073e-05/0.3583, allocations: 31.97 kB / 0.5622 GB, free: 2.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.3584, allocations: 27.98 kB / 0.5622 GB, free: 2.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3586, allocations: 80.81 kB / 0.5623 GB, free: 2.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3586, allocations: 0 / 0.5623 GB, free: 2.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002394/0.3588, allocations: 117.8 kB / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3588, allocations: 6.188 kB / 0.5624 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3588, allocations: 80 / 0.5624 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3589, allocations: 0 / 0.5624 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.359, allocations: 19.98 kB / 0.5624 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.359, allocations: 3.984 kB / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.359, allocations: 4 kB / 0.5624 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.359, allocations: 7.922 kB / 0.5624 GB, free: 2.238 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.0001088/0.3591, allocations: 125.8 kB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.3592, allocations: 15.91 kB / 0.5626 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.3595, allocations: 139 kB / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3595, allocations: 0 / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3595, allocations: 0 / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3595, allocations: 0 / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.36, allocations: 362.9 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.36, allocations: 0 / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.3601, allocations: 19.98 kB / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3601, allocations: 4.031 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3601, allocations: 4 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3601, allocations: 3.938 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3601, allocations: 3.938 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.3604, allocations: 216.3 kB / 0.5633 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.3605, allocations: 12.33 kB / 0.5633 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3605, allocations: 4 kB / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.3606, allocations: 7.938 kB / 0.5633 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.3606, allocations: 7.984 kB / 0.5633 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.3606, allocations: 4 kB / 0.5633 GB, free: 1.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.3608, allocations: 172.2 kB / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3608, allocations: 0 / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.361, allocations: 23.98 kB / 0.5635 GB, free: 1.051 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.001855/0.3629, allocations: 0.4897 MB / 0.564 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.3632, allocations: 71.94 kB / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3632, allocations: 0 / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.3633, allocations: 40.06 kB / 0.5641 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.3636, allocations: 24.12 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.3641, allocations: 270.8 kB / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.3643, allocations: 92.61 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.619e-05/0.3643, allocations: 20.64 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.3644, allocations: 15.44 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3644, allocations: 0 / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of Templates: time 0.004475/0.3688, allocations: 1.449 MB / 0.5659 GB, free: 14.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.1570614613592625]