Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001397/0.001397, 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.001524/0.001524, allocations: 212.2 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.239/0.239, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.Test5,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 67.91 kB / 0.4966 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3644, allocations: 66.03 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003081/0.3675, allocations: 1.617 MB / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3686, allocations: 0.5349 MB / 0.5632 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.3686, allocations: 0 / 0.5632 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.3689, allocations: 95.73 kB / 0.5633 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.3692, allocations: 115.6 kB / 0.5634 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.3695, allocations: 123.5 kB / 0.5635 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.3697, allocations: 79.81 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3698, allocations: 15.64 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.3699, allocations: 39.84 kB / 0.5636 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.37, allocations: 63.8 kB / 0.5637 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.37, allocations: 4 kB / 0.5637 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.569e-05/0.3701, allocations: 39.98 kB / 0.5637 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.3701, allocations: 19.92 kB / 0.5638 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.3702, allocations: 35.73 kB / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3704, allocations: 110.2 kB / 0.5639 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3704, allocations: 0 / 0.5639 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3704, allocations: 4 kB / 0.5639 GB, free: 1.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3704, allocations: 0 / 0.5639 GB, free: 1.262 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.0005129/0.3709, allocations: 349.5 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.371, allocations: 12.03 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.371, allocations: 12.84 kB / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.3712, allocations: 142.9 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3712, allocations: 384 / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.3712, allocations: 8.328 kB / 0.5644 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3714, allocations: 69.72 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3714, allocations: 0 / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3714, allocations: 0 / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3714, allocations: 0 / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3715, allocations: 31.97 kB / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.3719, allocations: 244.5 kB / 0.5647 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.3721, allocations: 46.5 kB / 0.5648 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.3721, allocations: 20.94 kB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.3721, allocations: 4 kB / 0.5648 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3722, allocations: 30.56 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3722, allocations: 0 / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009311/0.3731, allocations: 245.1 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.3731, allocations: 55.48 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.3734, allocations: 230.8 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3734, allocations: 33.69 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.3735, allocations: 108.1 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.3735, allocations: 35.67 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.3736, allocations: 21.72 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3737, allocations: 326.8 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.042e-05/0.3738, allocations: 39.91 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.3739, allocations: 31.97 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.374, allocations: 68.83 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3741, allocations: 4 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000224/0.3743, allocations: 105.8 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3743, allocations: 8 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3743, allocations: 432 / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3743, allocations: 7.984 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3744, allocations: 19.94 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3744, allocations: 4.062 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.3745, allocations: 7.984 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3745, allocations: 7.938 kB / 0.5661 GB, free: 14.8 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 0.0001087/0.3746, allocations: 125.8 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.3746, allocations: 11.95 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.3749, allocations: 143 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.375, allocations: 4 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.375, allocations: 0 / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.375, allocations: 0 / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.3755, allocations: 366.8 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3755, allocations: 0 / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.3756, allocations: 23.98 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3756, allocations: 0 / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3756, allocations: 4 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3756, allocations: 11.97 kB / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3756, allocations: 0 / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.3759, allocations: 212.2 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.3759, allocations: 11.94 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3759, allocations: 4 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.376, allocations: 7.938 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.376, allocations: 7.984 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.376, allocations: 4 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.3762, allocations: 180.2 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3762, allocations: 4 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3764, allocations: 23.95 kB / 0.5672 GB, free: 13.59 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 (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.001858/0.3783, allocations: 488.7 kB / 0.5677 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.3785, allocations: 75.89 kB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3786, allocations: 0 / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3787, allocations: 39.97 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.379, allocations: 26.98 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005563/0.3796, allocations: 282.8 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.3797, allocations: 104.8 kB / 0.5682 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.927e-05/0.3797, allocations: 16.66 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.3798, allocations: 15.42 kB / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3798, allocations: 0 / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004665/0.3845, allocations: 1.442 MB / 0.5696 GB, free: 11.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.296342954039574]