Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001642/0.001642, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2385/0.2385, allocations: 46.89 MB / 361.1 MB, free: 4.633 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 75.88 kB / 0.4968 GB, free: 8.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3468, allocations: 65.97 MB / 0.5612 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002619/0.3494, allocations: 1.696 MB / 0.5629 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008389/0.3502, allocations: 0.5974 MB / 0.5635 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.3503, allocations: 0 / 0.5635 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.3505, allocations: 80.64 kB / 0.5635 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.3508, allocations: 103.3 kB / 0.5636 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.3511, allocations: 180.5 kB / 0.5638 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3513, allocations: 98.39 kB / 0.5639 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3514, allocations: 20 kB / 0.5639 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.3515, allocations: 34.69 kB / 0.564 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3516, allocations: 68.27 kB / 0.564 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3516, allocations: 3.156 kB / 0.564 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.828e-05/0.3517, allocations: 48.45 kB / 0.5641 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.3517, allocations: 35.62 kB / 0.5641 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.3518, allocations: 40.69 kB / 0.5641 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.352, allocations: 117.1 kB / 0.5643 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.352, allocations: 5.25 kB / 0.5643 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.352, allocations: 0 / 0.5643 GB, free: 32.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.352, allocations: 0 / 0.5643 GB, free: 32.59 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004753/0.3524, allocations: 428.4 kB / 0.5647 GB, free: 32.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.3525, allocations: 9.562 kB / 0.5647 GB, free: 32.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.3525, allocations: 14.97 kB / 0.5647 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3527, allocations: 208.2 kB / 0.5649 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.3527, allocations: 3.406 kB / 0.5649 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.3527, allocations: 7.016 kB / 0.5649 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3529, allocations: 64.25 kB / 0.565 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3529, allocations: 192 / 0.565 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3529, allocations: 11.06 kB / 0.565 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.3529, allocations: 0 / 0.565 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.353, allocations: 47.83 kB / 0.565 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.3534, allocations: 323.5 kB / 0.5653 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.3536, allocations: 58.66 kB / 0.5654 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.3537, allocations: 30.72 kB / 0.5654 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3537, allocations: 0 / 0.5654 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.3537, allocations: 41.62 kB / 0.5654 GB, free: 31.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3537, allocations: 0 / 0.5654 GB, free: 31.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001369/0.3551, allocations: 434.4 kB / 0.5659 GB, free: 31.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.3551, allocations: 51.41 kB / 0.5659 GB, free: 31.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3552, allocations: 219.4 kB / 0.5661 GB, free: 31.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.3553, allocations: 25.7 kB / 0.5661 GB, free: 31.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.3553, allocations: 104.5 kB / 0.5662 GB, free: 31.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.3553, allocations: 38.33 kB / 0.5663 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.3554, allocations: 32.42 kB / 0.5663 GB, free: 30.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.3554, allocations: 322.5 kB / 0.5666 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3555, allocations: 57.47 kB / 0.5667 GB, free: 30.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.3557, allocations: 56.31 kB / 0.5667 GB, free: 30.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.3559, allocations: 129.3 kB / 0.5669 GB, free: 30.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3559, allocations: 0 / 0.5669 GB, free: 30.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002964/0.3562, allocations: 164.2 kB / 0.567 GB, free: 30.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3562, allocations: 10.56 kB / 0.567 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3562, allocations: 0 / 0.567 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3562, allocations: 3.094 kB / 0.567 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3563, allocations: 30.09 kB / 0.567 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.3563, allocations: 0 / 0.567 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.3564, allocations: 13.52 kB / 0.5671 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3564, allocations: 3.125 kB / 0.5671 GB, free: 30.52 MB / 446.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 (11): * Single equations (assignments): 11 * 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 6.801e-05/0.3565, allocations: 134.7 kB / 0.5672 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.3565, allocations: 17.97 kB / 0.5672 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.3569, allocations: 191.8 kB / 0.5674 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3569, allocations: 3.984 kB / 0.5674 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3569, allocations: 3.281 kB / 0.5674 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3569, allocations: 3.938 kB / 0.5674 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.3575, allocations: 0.5059 MB / 0.5679 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3575, allocations: 0 / 0.5679 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.3576, allocations: 30.3 kB / 0.5679 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3576, allocations: 3.188 kB / 0.5679 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3576, allocations: 7.234 kB / 0.5679 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3576, allocations: 11.17 kB / 0.5679 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3576, allocations: 0 / 0.5679 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.3579, allocations: 272.3 kB / 0.5682 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.3579, allocations: 92 kB / 0.5683 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.358, allocations: 2.875 kB / 0.5683 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.358, allocations: 13.45 kB / 0.5683 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.3581, allocations: 6.312 kB / 0.5683 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.3581, allocations: 8.484 kB / 0.5683 GB, free: 29.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.234e-05/0.3582, allocations: 163.6 kB / 0.5685 GB, free: 29.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3582, allocations: 2.938 kB / 0.5685 GB, free: 29.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3584, allocations: 29.61 kB / 0.5685 GB, free: 29.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001569/0.36, allocations: 449.2 kB / 0.5689 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.3603, allocations: 128.2 kB / 0.5691 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3603, allocations: 0 / 0.5691 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.3605, allocations: 63.72 kB / 0.5691 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.3608, allocations: 30.78 kB / 0.5692 GB, free: 29.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.3613, allocations: 348 kB / 0.5695 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.3614, allocations: 0.7216 MB / 0.5702 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.333e-05/0.3615, allocations: 33.48 kB / 0.5702 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.3615, allocations: 16.38 kB / 0.5702 GB, free: 28.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3615, allocations: 0 / 0.5702 GB, free: 28.26 MB / 446.1 MB Notification: Performance of Templates: time 0.00441/0.3659, allocations: 1.673 MB / 0.5719 GB, free: 28.07 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.185844035819173]