Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.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.006063/0.006063, allocations: 103.4 kB / 21.97 MB, free: 5.211 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.001705/0.001705, allocations: 220 kB / 25.29 MB, free: 3.215 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.442/1.442, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.2259/0.2259, allocations: 46.94 MB / 362.3 MB, free: 4.195 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.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear") [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.002381/0.002381, allocations: 87.86 kB / 0.4982 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.33, allocations: 66.07 MB / 0.5627 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001617/0.3316, allocations: 0.4893 MB / 0.5632 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003699/0.3353, allocations: 2.323 MB / 0.5655 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-06/0.3353, allocations: 0 / 0.5655 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.717e-06/0.3353, allocations: 0 / 0.5655 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.92e-07/0.3353, allocations: 0 / 0.5655 GB, free: 1.426 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.00214/0.3375, allocations: 0.6287 MB / 0.5661 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.189e-05/0.3375, allocations: 12 kB / 0.5661 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.016e-05/0.3375, allocations: 3.984 kB / 0.5661 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3377, allocations: 15.92 kB / 0.5661 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.925e-05/0.3377, allocations: 8 kB / 0.5661 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-06/0.3377, allocations: 0 / 0.5661 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.3388, allocations: 0.6788 MB / 0.5668 GB, free: 88 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-06/0.3388, allocations: 0 / 0.5668 GB, free: 88 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.3388, allocations: 7.922 kB / 0.5668 GB, free: 80 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.3394, allocations: 446.8 kB / 0.5672 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3394, allocations: 0 / 0.5672 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3394, allocations: 7.938 kB / 0.5672 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3394, allocations: 0 / 0.5672 GB, free: 15.64 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.0004374/0.3399, allocations: 351.3 kB / 0.5676 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3399, allocations: 8.031 kB / 0.5676 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.34, allocations: 76.22 kB / 0.5676 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3401, allocations: 185.8 kB / 0.5678 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.3402, allocations: 154.9 kB / 0.568 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.68e-05/0.3403, allocations: 158.7 kB / 0.5681 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.546e-05/0.3403, allocations: 105 kB / 0.5682 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/0.3404, allocations: 75.28 kB / 0.5683 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.3405, allocations: 154.6 kB / 0.5684 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.3405, allocations: 150.6 kB / 0.5686 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.3406, allocations: 150.6 kB / 0.5687 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.3409, allocations: 417 kB / 0.5691 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.341, allocations: 173.1 kB / 0.5693 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.3411, allocations: 84.08 kB / 0.5694 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.3411, allocations: 75.28 kB / 0.5694 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.92e-05/0.3412, allocations: 139.5 kB / 0.5696 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3412, allocations: 0 / 0.5696 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.6e-05/0.3413, allocations: 33.58 kB / 0.5696 GB, free: 13.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.3414, allocations: 156.4 kB / 0.5697 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.331e-05/0.3414, allocations: 89.86 kB / 0.5698 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3414, allocations: 25.7 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.3415, allocations: 84.14 kB / 0.5699 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.3415, allocations: 4 kB / 0.5699 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.3415, allocations: 13.72 kB / 0.5699 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3416, allocations: 310.8 kB / 0.5702 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.239e-06/0.3416, allocations: 0 / 0.5702 GB, free: 12.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.3417, allocations: 7.984 kB / 0.5703 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.3417, allocations: 75.28 kB / 0.5703 GB, free: 12.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-05/0.3417, allocations: 75.28 kB / 0.5704 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.335e-05/0.3418, allocations: 33.7 kB / 0.5704 GB, free: 12.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.3418, allocations: 89.44 kB / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/0.3419, allocations: 79.3 kB / 0.5706 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.797e-05/0.342, allocations: 154.6 kB / 0.5707 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.515e-05/0.342, allocations: 83.22 kB / 0.5708 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.639e-05/0.3421, allocations: 154.5 kB / 0.571 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.3421, allocations: 83.22 kB / 0.571 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.3422, allocations: 83.33 kB / 0.5711 GB, free: 11.41 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.0001419/0.3423, allocations: 261.2 kB / 0.5714 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.3424, allocations: 108.9 kB / 0.5715 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/0.3425, allocations: 119.7 kB / 0.5716 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-05/0.3425, allocations: 180.2 kB / 0.5718 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.501e-05/0.3426, allocations: 188.2 kB / 0.5719 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.907e-05/0.3427, allocations: 176.3 kB / 0.5721 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.343, allocations: 368.3 kB / 0.5725 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.399e-05/0.343, allocations: 120.8 kB / 0.5726 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.3431, allocations: 101 kB / 0.5727 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.244e-05/0.3431, allocations: 180.2 kB / 0.5728 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.445e-05/0.3432, allocations: 180.3 kB / 0.573 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.401e-05/0.3433, allocations: 180.3 kB / 0.5732 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.033e-05/0.3434, allocations: 180.2 kB / 0.5734 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.3436, allocations: 307.8 kB / 0.5737 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.3436, allocations: 108.9 kB / 0.5738 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-05/0.3437, allocations: 184.3 kB / 0.5739 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.782e-05/0.3438, allocations: 116.8 kB / 0.574 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.3439, allocations: 176.3 kB / 0.5742 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.3439, allocations: 108.9 kB / 0.5743 GB, free: 7.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.274e-05/0.344, allocations: 75.28 kB / 0.5744 GB, free: 7.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.344, allocations: 0 / 0.5744 GB, free: 7.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005232/0.3445, allocations: 143.6 kB / 0.5745 GB, free: 7.727 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.000881/0.3454, allocations: 408.2 kB / 0.5749 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.042e-05/0.3454, allocations: 0 / 0.5749 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3454, allocations: 0 / 0.5749 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.3454, allocations: 4 kB / 0.5749 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.3458, allocations: 463.6 kB / 0.5754 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.346, allocations: 182 kB / 0.5755 GB, free: 6.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3463, allocations: 0.669 MB / 0.5762 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.3463, allocations: 11.44 kB / 0.5762 GB, free: 5.941 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3463, allocations: 0 / 0.5762 GB, free: 5.941 MB / 414.1 MB Notification: Performance of Templates: time 0.005637/0.352, allocations: 2.835 MB / 0.579 GB, free: 3.105 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 8.873805302893743]