Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001365/0.001365, 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.001619/0.001619, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.547/1.547, 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.2448/0.2448, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 71.88 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3529, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003529/0.3565, allocations: 1.609 MB / 0.5627 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3577, allocations: 0.5387 MB / 0.5632 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.3578, allocations: 7.938 kB / 0.5632 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.358, allocations: 23.86 kB / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.3583, allocations: 79.61 kB / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.3587, allocations: 115.3 kB / 0.5634 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3588, allocations: 71.77 kB / 0.5635 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3589, allocations: 15.98 kB / 0.5635 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.359, allocations: 27.86 kB / 0.5635 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.3591, allocations: 31.86 kB / 0.5635 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3591, allocations: 4 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.3593, allocations: 91.88 kB / 0.5636 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.3593, allocations: 23.91 kB / 0.5637 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.3594, allocations: 15.88 kB / 0.5637 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.3597, allocations: 145.9 kB / 0.5638 GB, free: 1.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3597, allocations: 0 / 0.5638 GB, free: 1.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3597, allocations: 0 / 0.5638 GB, free: 1.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3597, allocations: 0 / 0.5638 GB, free: 1.363 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000524/0.3602, allocations: 337.6 kB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3602, allocations: 8.031 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.3603, allocations: 8.891 kB / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.3605, allocations: 134.4 kB / 0.5643 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3605, allocations: 8.359 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.3605, allocations: 384 / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3607, allocations: 93.23 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3607, allocations: 0 / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3607, allocations: 0 / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3607, allocations: 0 / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.3608, allocations: 35.91 kB / 0.5644 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.3613, allocations: 228.6 kB / 0.5646 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3614, allocations: 54.48 kB / 0.5647 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.3615, allocations: 24.94 kB / 0.5647 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3615, allocations: 0 / 0.5647 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3615, allocations: 34.5 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3615, allocations: 0 / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007282/0.3623, allocations: 197.2 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.3623, allocations: 77.11 kB / 0.565 GB, free: 0 / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.3625, allocations: 151.6 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3625, allocations: 25.7 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.3626, allocations: 100.1 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.3626, allocations: 23.8 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.3627, allocations: 29.7 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3628, allocations: 318.8 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.3629, allocations: 35.97 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.363, allocations: 71.39 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.3632, allocations: 68.83 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3632, allocations: 3.984 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002371/0.3634, allocations: 117.8 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3635, allocations: 8 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3635, allocations: 0 / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3635, allocations: 4.031 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3636, allocations: 15.98 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3636, allocations: 0 / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.3636, allocations: 4 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3636, allocations: 4 kB / 0.5659 GB, free: 14.98 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 9.683e-05/0.3637, allocations: 121.8 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.3638, allocations: 7.953 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.3641, allocations: 118.3 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3641, allocations: 4.281 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3641, allocations: 0 / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3641, allocations: 3.984 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/0.3646, allocations: 338 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3646, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.49e-05/0.3647, allocations: 12 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3647, allocations: 0 / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3647, allocations: 3.984 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3647, allocations: 4 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.3647, allocations: 7.938 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.365, allocations: 195.4 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.365, allocations: 11.95 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.365, allocations: 0 / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.3651, allocations: 11.92 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3651, allocations: 11.94 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.3651, allocations: 3.984 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.3652, allocations: 113.6 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3652, allocations: 0 / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.3655, allocations: 47.86 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001919/0.3674, allocations: 0.5344 MB / 0.5674 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.3677, allocations: 67.89 kB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3677, allocations: 4 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.126e-05/0.3678, allocations: 31.97 kB / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3682, allocations: 11.98 kB / 0.5675 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.3687, allocations: 193.9 kB / 0.5677 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.3688, allocations: 79.33 kB / 0.5678 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.939e-05/0.3689, allocations: 28.94 kB / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.369, allocations: 23.36 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.369, allocations: 0 / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of Templates: time 0.005816/0.3748, allocations: 2.008 MB / 0.5698 GB, free: 11.13 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.228038752451539]