Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.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.001393/0.001393, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001609/0.001609, allocations: 212 kB / 24.54 MB, free: 4.016 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.477/1.477, allocations: 230.3 MB / 258 MB, free: 8.227 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.2212/0.2212, allocations: 46.94 MB / 361.4 MB, free: 4.406 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-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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23") [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.002328/0.002328, allocations: 79.81 kB / 0.4972 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3468, allocations: 66.05 MB / 0.5617 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004126/0.351, allocations: 2.126 MB / 0.5637 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.3533, allocations: 1.321 MB / 0.565 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.3534, allocations: 4 kB / 0.565 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.3537, allocations: 51.52 kB / 0.5651 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005313/0.3542, allocations: 215.1 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009558/0.3552, allocations: 456.6 kB / 0.5657 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.3556, allocations: 331 kB / 0.566 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.3558, allocations: 52.77 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.3561, allocations: 159.2 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.3564, allocations: 211.3 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.3564, allocations: 16 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.3566, allocations: 67.92 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.3567, allocations: 143.5 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.3569, allocations: 178.6 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.3573, allocations: 408.6 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3574, allocations: 0 / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3574, allocations: 4 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.3574, allocations: 0 / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001137/0.3585, allocations: 0.7406 MB / 0.568 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3585, allocations: 12.03 kB / 0.568 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004255/0.359, allocations: 96.45 kB / 0.5681 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.3596, allocations: 427.2 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3597, allocations: 8.375 kB / 0.5685 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.3597, allocations: 8.375 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.36, allocations: 147.5 kB / 0.5686 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.36, allocations: 3.953 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.3601, allocations: 4 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.3601, allocations: 4 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.3604, allocations: 103.9 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009858/0.3613, allocations: 0.6401 MB / 0.5694 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.3616, allocations: 125.2 kB / 0.5695 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.3618, allocations: 53.81 kB / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.3618, allocations: 4 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3619, allocations: 30.56 kB / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 3.487e-06/0.3619, allocations: 7.984 kB / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.00207/0.3639, allocations: 0.7027 MB / 0.5703 GB, free: 11.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.364, allocations: 85.05 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.365, allocations: 0.8946 MB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.3651, allocations: 29.7 kB / 0.5712 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.3653, allocations: 268.3 kB / 0.5715 GB, free: 10.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/0.3654, allocations: 67.44 kB / 0.5716 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.3654, allocations: 41.69 kB / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.3656, allocations: 370.8 kB / 0.572 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.3659, allocations: 91.92 kB / 0.572 GB, free: 9.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.3662, allocations: 113.6 kB / 0.5721 GB, free: 9.543 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.3667, allocations: 201.5 kB / 0.5723 GB, free: 9.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3667, allocations: 4 kB / 0.5723 GB, free: 9.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006661/0.3673, allocations: 313.1 kB / 0.5726 GB, free: 9.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3674, allocations: 10.17 kB / 0.5727 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3674, allocations: 0 / 0.5727 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3674, allocations: 0 / 0.5727 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.3677, allocations: 51.95 kB / 0.5727 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3677, allocations: 4 kB / 0.5727 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3678, allocations: 23.97 kB / 0.5727 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.3679, allocations: 11.94 kB / 0.5727 GB, free: 8.926 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002338/0.3681, allocations: 213.7 kB / 0.5729 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.3682, allocations: 59.58 kB / 0.573 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000801/0.369, allocations: 350.3 kB / 0.5733 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.369, allocations: 4 kB / 0.5733 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.369, allocations: 4.547 kB / 0.5733 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.369, allocations: 0 / 0.5733 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.3705, allocations: 0.8557 MB / 0.5742 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3705, allocations: 0 / 0.5742 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.3707, allocations: 59.89 kB / 0.5742 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3708, allocations: 0 / 0.5742 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.3708, allocations: 12.45 kB / 0.5742 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3708, allocations: 4 kB / 0.5743 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3708, allocations: 0 / 0.5743 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/0.3715, allocations: 496.4 kB / 0.5747 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.3717, allocations: 63.61 kB / 0.5748 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.3717, allocations: 11.94 kB / 0.5748 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.3719, allocations: 15.97 kB / 0.5748 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.372, allocations: 23.91 kB / 0.5748 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.372, allocations: 11.98 kB / 0.5748 GB, free: 6.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007743/0.3728, allocations: 0.6552 MB / 0.5755 GB, free: 6.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3728, allocations: 0 / 0.5755 GB, free: 6.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.3732, allocations: 63.98 kB / 0.5755 GB, free: 5.973 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 (20): * Single equations (assignments): 20 * 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.001516/0.3747, allocations: 386.2 kB / 0.5759 GB, free: 5.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006758/0.3754, allocations: 215.7 kB / 0.5761 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3754, allocations: 4 kB / 0.5761 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.3757, allocations: 111.9 kB / 0.5762 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.3763, allocations: 82.77 kB / 0.5763 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.3778, allocations: 0.9742 MB / 0.5773 GB, free: 4.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.3783, allocations: 0.8811 MB / 0.5781 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002003/0.3785, allocations: 79.22 kB / 0.5782 GB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3787, allocations: 39.42 kB / 0.5782 GB, free: 3.285 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3787, allocations: 3.938 kB / 0.5782 GB, free: 3.281 MB / 414.1 MB Notification: Performance of Templates: time 0.009996/0.3887, allocations: 4.501 MB / 0.5826 GB, free: 14.79 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.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.3973023211583495]