Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.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.001321/0.001321, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001501/0.001501, allocations: 211.2 kB / 24.47 MB, free: 3.977 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.489/1.489, allocations: 230.6 MB / 258.2 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.2312/0.2312, allocations: 46.96 MB / 361.6 MB, free: 4.145 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.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 75.89 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2993, allocations: 66.03 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001587/0.3009, allocations: 499.8 kB / 0.5623 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.3042, allocations: 2.175 MB / 0.5644 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-06/0.3042, allocations: 0 / 0.5644 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.656e-06/0.3042, allocations: 0 / 0.5644 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.092e-06/0.3042, allocations: 0 / 0.5644 GB, free: 1.535 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:8:5-88:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:90:5-160:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto2' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:162:5-239:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:241:5-319:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.3063, allocations: 0.6333 MB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.027e-05/0.3063, allocations: 11.98 kB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.876e-05/0.3063, allocations: 3.984 kB / 0.565 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.3065, allocations: 15.94 kB / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.293e-05/0.3065, allocations: 7.984 kB / 0.565 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-06/0.3065, allocations: 0 / 0.565 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.3075, allocations: 0.6594 MB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-06/0.3075, allocations: 0 / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.3075, allocations: 8 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006342/0.3082, allocations: 454.8 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3082, allocations: 3.938 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3082, allocations: 0 / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3082, allocations: 0 / 0.5661 GB, free: 15.76 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004008/0.3086, allocations: 351.3 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.3086, allocations: 11.97 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.3087, allocations: 80.22 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.3088, allocations: 181.8 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.3089, allocations: 150.9 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.3089, allocations: 158.7 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.309, allocations: 108.9 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.309, allocations: 75.28 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/0.3091, allocations: 150.6 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.076e-05/0.3092, allocations: 150.6 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.3093, allocations: 158.6 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.3095, allocations: 389.6 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3096, allocations: 173.1 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.3097, allocations: 80.14 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.3097, allocations: 75.28 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.711e-05/0.3098, allocations: 147.5 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3098, allocations: 3.938 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.305e-05/0.3099, allocations: 29.69 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.31, allocations: 152.4 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.095e-05/0.31, allocations: 89.86 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.31, allocations: 29.7 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.3101, allocations: 80.14 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.3101, allocations: 3.938 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.3101, allocations: 13.72 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3103, allocations: 310.8 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-06/0.3103, allocations: 0 / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.3103, allocations: 33.7 kB / 0.5692 GB, free: 12.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/0.3103, allocations: 79.27 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.401e-05/0.3104, allocations: 79.28 kB / 0.5693 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.638e-05/0.3104, allocations: 33.77 kB / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.3105, allocations: 85.88 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/0.3105, allocations: 83.2 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.61e-05/0.3106, allocations: 154.6 kB / 0.5697 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.1e-05/0.3106, allocations: 79.28 kB / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-05/0.3107, allocations: 154.5 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.691e-05/0.3108, allocations: 83.27 kB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.3108, allocations: 83.3 kB / 0.5701 GB, free: 11.53 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 (0): * Single equations (assignments): 0 * 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.0001363/0.311, allocations: 268.4 kB / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.311, allocations: 104.9 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.3111, allocations: 111.8 kB / 0.5705 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.305e-05/0.3112, allocations: 180.2 kB / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.137e-05/0.3112, allocations: 180.2 kB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-05/0.3113, allocations: 188.2 kB / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.3115, allocations: 348.8 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.197e-05/0.3116, allocations: 105 kB / 0.5715 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.3116, allocations: 108.9 kB / 0.5716 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.091e-05/0.3117, allocations: 180.3 kB / 0.5718 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-05/0.3118, allocations: 188.1 kB / 0.5719 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.056e-05/0.3119, allocations: 180.3 kB / 0.5721 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-05/0.312, allocations: 180.2 kB / 0.5723 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.3121, allocations: 303.8 kB / 0.5726 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.3122, allocations: 108.9 kB / 0.5727 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.3123, allocations: 192.1 kB / 0.5729 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.3124, allocations: 104.9 kB / 0.573 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.3124, allocations: 184.2 kB / 0.5731 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/0.3125, allocations: 101 kB / 0.5732 GB, free: 8.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.418e-05/0.3125, allocations: 75.28 kB / 0.5733 GB, free: 8.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3125, allocations: 4 kB / 0.5733 GB, free: 8.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005134/0.313, allocations: 143.6 kB / 0.5734 GB, free: 7.879 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 (0): * Single equations (assignments): 0 * 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.0008894/0.3139, allocations: 400.5 kB / 0.5738 GB, free: 7.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.591e-05/0.314, allocations: 0 / 0.5738 GB, free: 7.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.314, allocations: 4 kB / 0.5738 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.314, allocations: 0 / 0.5738 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.3144, allocations: 463.7 kB / 0.5743 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001653/0.3145, allocations: 148.3 kB / 0.5744 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.777e-05/0.3146, allocations: 55.34 kB / 0.5745 GB, free: 6.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.853e-06/0.3146, allocations: 4 kB / 0.5745 GB, free: 6.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.3146, allocations: 7.438 kB / 0.5745 GB, free: 6.762 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3146, allocations: 0 / 0.5745 GB, free: 6.762 MB / 414.1 MB Notification: Performance of Templates: time 0.007806/0.3224, allocations: 3.29 MB / 0.5777 GB, free: 3.484 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.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: 4.9405352949979715]