Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001828/0.001828, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00232/0.00232, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.676/1.676, 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.254/0.254, allocations: 46.95 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 64.14 kB / 0.4966 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3482, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003245/0.3515, allocations: 1.597 MB / 0.5627 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3527, allocations: 0.5271 MB / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.3527, allocations: 3.938 kB / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.3529, allocations: 35.78 kB / 0.5632 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.3532, allocations: 71.7 kB / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.3535, allocations: 99.31 kB / 0.5634 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3537, allocations: 75.81 kB / 0.5634 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3538, allocations: 11.98 kB / 0.5635 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.3538, allocations: 23.88 kB / 0.5635 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.3539, allocations: 43.77 kB / 0.5635 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3539, allocations: 4 kB / 0.5635 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.3541, allocations: 95.94 kB / 0.5636 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.3542, allocations: 19.92 kB / 0.5636 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.3542, allocations: 15.88 kB / 0.5637 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.3545, allocations: 157.8 kB / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3545, allocations: 0 / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3545, allocations: 0 / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.3545, allocations: 0 / 0.5638 GB, free: 1.383 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005788/0.3551, allocations: 341.6 kB / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3552, allocations: 8.031 kB / 0.5641 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.3552, allocations: 8.891 kB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.3554, allocations: 142.4 kB / 0.5643 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.3554, allocations: 4.375 kB / 0.5643 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.3555, allocations: 4.312 kB / 0.5643 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3557, allocations: 97.22 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3557, allocations: 0 / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3557, allocations: 0 / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.3557, allocations: 4 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3558, allocations: 27.98 kB / 0.5644 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.3562, allocations: 244.4 kB / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3563, allocations: 58.44 kB / 0.5647 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.898e-05/0.3564, allocations: 32.97 kB / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3564, allocations: 0 / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3565, allocations: 34.55 kB / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.3565, allocations: 4 kB / 0.5648 GB, free: 276 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000689/0.3572, allocations: 177.6 kB / 0.5649 GB, free: 92 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.3573, allocations: 77.11 kB / 0.565 GB, free: 16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.3574, allocations: 156.4 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3575, allocations: 33.7 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.3576, allocations: 100 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.3576, allocations: 23.84 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.3576, allocations: 25.72 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3578, allocations: 330.7 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.975e-05/0.3579, allocations: 28.16 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.358, allocations: 75.41 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.3582, allocations: 72.84 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3582, allocations: 0 / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002668/0.3585, allocations: 121.5 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3585, allocations: 6.656 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3585, allocations: 0 / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3585, allocations: 288 / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3586, allocations: 19.98 kB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3586, allocations: 0 / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.3587, allocations: 11.92 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3587, allocations: 11.94 kB / 0.566 GB, free: 14.95 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 (9): * Single equations (assignments): 9 * 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.0001105/0.3588, allocations: 121.8 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.3589, allocations: 11.89 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.3592, allocations: 114.3 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3592, allocations: 3.984 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3592, allocations: 3.984 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3592, allocations: 0 / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.3597, allocations: 342 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3597, allocations: 0 / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.3598, allocations: 23.92 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3598, allocations: 0 / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3598, allocations: 0 / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3598, allocations: 240 / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3598, allocations: 7.938 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.3602, allocations: 203.5 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.3602, allocations: 11.94 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.3602, allocations: 4 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.3603, allocations: 4 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.3603, allocations: 11.92 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.3603, allocations: 4 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.3604, allocations: 115.2 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3604, allocations: 0 / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.3608, allocations: 47.86 kB / 0.567 GB, free: 13.86 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 (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.001985/0.3627, allocations: 0.5367 MB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.363, allocations: 67.95 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.363, allocations: 0 / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3631, allocations: 43.91 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3635, allocations: 17.88 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.364, allocations: 194 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.336e-05/0.3641, allocations: 83.06 kB / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.373e-05/0.3642, allocations: 24.41 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.3643, allocations: 19.42 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3643, allocations: 0 / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of Templates: time 0.005787/0.3701, allocations: 2.066 MB / 0.5699 GB, free: 11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.475330889225006]