Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001513/0.001513, 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.00175/0.00175, allocations: 212.8 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.641/1.641, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2417/0.2417, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 71.89 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3701, allocations: 66.03 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003468/0.3736, allocations: 1.588 MB / 0.5626 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3747, allocations: 0.5192 MB / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.3748, allocations: 4 kB / 0.5632 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.375, allocations: 19.86 kB / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.3753, allocations: 79.61 kB / 0.5633 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.3756, allocations: 95.39 kB / 0.5633 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3758, allocations: 71.77 kB / 0.5634 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.3759, allocations: 8 kB / 0.5634 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.686e-05/0.3759, allocations: 19.92 kB / 0.5634 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.376, allocations: 23.86 kB / 0.5635 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.376, allocations: 7.984 kB / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-05/0.3761, allocations: 35.98 kB / 0.5635 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.3762, allocations: 11.94 kB / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.3762, allocations: 19.86 kB / 0.5635 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.3764, allocations: 89.92 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3764, allocations: 0 / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3764, allocations: 0 / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3765, allocations: 0 / 0.5636 GB, free: 1.574 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.0006451/0.3771, allocations: 309.9 kB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3771, allocations: 8.031 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.3772, allocations: 12.89 kB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.3774, allocations: 130.4 kB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3774, allocations: 4.375 kB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3774, allocations: 384 / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3776, allocations: 57.8 kB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3776, allocations: 3.938 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3776, allocations: 3.938 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3776, allocations: 0 / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.291e-05/0.3777, allocations: 19.98 kB / 0.5641 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.3781, allocations: 228.5 kB / 0.5644 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.3783, allocations: 46.5 kB / 0.5644 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.3783, allocations: 12.94 kB / 0.5644 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3784, allocations: 4 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.3784, allocations: 34.56 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3784, allocations: 0 / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005815/0.379, allocations: 137.4 kB / 0.5646 GB, free: 476 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.379, allocations: 51.41 kB / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.3792, allocations: 160.9 kB / 0.5648 GB, free: 240 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3793, allocations: 29.64 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.3793, allocations: 92.14 kB / 0.5649 GB, free: 108 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.3794, allocations: 19.78 kB / 0.5649 GB, free: 88 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.3794, allocations: 21.72 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3796, allocations: 322.8 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.3797, allocations: 19.98 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.087e-05/0.3797, allocations: 19.98 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.3799, allocations: 44.83 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3799, allocations: 0 / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000202/0.3801, allocations: 85.84 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3801, allocations: 8 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3801, allocations: 0 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3801, allocations: 0 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.654e-05/0.3802, allocations: 12.23 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3802, allocations: 0 / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.332e-05/0.3802, allocations: 8 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3802, allocations: 11.98 kB / 0.5655 GB, free: 15.52 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 (5): * Single equations (assignments): 5 * 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.0001033/0.3803, allocations: 121.8 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.3804, allocations: 7.953 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.3806, allocations: 90 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3806, allocations: 0 / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3806, allocations: 0 / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3806, allocations: 0 / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.3811, allocations: 290.2 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.3811, allocations: 0 / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.3811, allocations: 19.92 kB / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3811, allocations: 0 / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.3811, allocations: 4 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3811, allocations: 0 / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3811, allocations: 0 / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.3814, allocations: 183.3 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.3814, allocations: 7.953 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.3814, allocations: 4 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.3815, allocations: 7.984 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.3815, allocations: 0 / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.3815, allocations: 11.88 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3816, allocations: 115.2 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3816, allocations: 4 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.3819, allocations: 15.94 kB / 0.5663 GB, free: 14.57 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 (5): * Single equations (assignments): 5 * 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.0017/0.3836, allocations: 426.9 kB / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.3838, allocations: 47.97 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3838, allocations: 0 / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.737e-05/0.3839, allocations: 27.92 kB / 0.5668 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.3842, allocations: 19.36 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.3847, allocations: 182.1 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3848, allocations: 84.7 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.3849, allocations: 19.75 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.3849, allocations: 11.44 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3849, allocations: 0 / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of Templates: time 0.004482/0.3894, allocations: 1.159 MB / 0.5682 GB, free: 12.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.305676560848951]