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.001312/0.001312, 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.001455/0.001455, allocations: 217.3 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.535/1.535, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2322/0.2322, allocations: 46.88 MB / 361.1 MB, free: 4.645 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.002325/0.002325, allocations: 75.88 kB / 0.4967 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3504, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001593/0.352, allocations: 497 kB / 0.5617 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003618/0.3556, allocations: 2.315 MB / 0.5639 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-06/0.3556, allocations: 3.938 kB / 0.5639 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.579e-06/0.3556, allocations: 4 kB / 0.5639 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.573e-06/0.3556, allocations: 0 / 0.5639 GB, free: 2.223 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.002139/0.3578, allocations: 0.6294 MB / 0.5645 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.545e-05/0.3578, allocations: 8 kB / 0.5645 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.695e-05/0.3578, allocations: 0 / 0.5645 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.358, allocations: 23.91 kB / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.358, allocations: 8 kB / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-06/0.358, allocations: 0 / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.3591, allocations: 0.671 MB / 0.5652 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.3591, allocations: 4 kB / 0.5652 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.3591, allocations: 0 / 0.5652 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.3598, allocations: 455 kB / 0.5657 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3598, allocations: 0 / 0.5657 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3598, allocations: 0 / 0.5657 GB, free: 448 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3598, allocations: 0 / 0.5657 GB, free: 448 kB / 398.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.0005347/0.3603, allocations: 432.5 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3604, allocations: 12.03 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.3604, allocations: 76.22 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.3606, allocations: 235.7 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.48e-05/0.3607, allocations: 150.9 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.3607, allocations: 154.7 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.243e-05/0.3608, allocations: 108.9 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.3609, allocations: 87.2 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.453e-05/0.3609, allocations: 150.6 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-05/0.361, allocations: 154.6 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.199e-05/0.3611, allocations: 150.6 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.3614, allocations: 442 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.3615, allocations: 173.1 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.3616, allocations: 92.02 kB / 0.568 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.3616, allocations: 75.28 kB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.45e-05/0.3617, allocations: 135.5 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.3617, allocations: 0 / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.107e-05/0.3618, allocations: 33.69 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/0.3619, allocations: 156.3 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.794e-05/0.3619, allocations: 89.86 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.3619, allocations: 25.7 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.362, allocations: 80.14 kB / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.362, allocations: 0 / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.362, allocations: 17.72 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3622, allocations: 318.8 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-06/0.3622, allocations: 3.938 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.3622, allocations: 0 / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.3622, allocations: 75.28 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.107e-05/0.3623, allocations: 75.28 kB / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.05e-05/0.3623, allocations: 37.69 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.3624, allocations: 81.62 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-05/0.3624, allocations: 87.33 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.776e-05/0.3625, allocations: 154.5 kB / 0.5694 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-05/0.3625, allocations: 75.28 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.75e-05/0.3626, allocations: 154.5 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.244e-05/0.3627, allocations: 83.28 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.3627, allocations: 79.28 kB / 0.5697 GB, free: 12.02 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.0001428/0.3629, allocations: 272.3 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.3629, allocations: 109 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.363, allocations: 107.9 kB / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.778e-05/0.3631, allocations: 180.2 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.986e-05/0.3632, allocations: 184.3 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-05/0.3632, allocations: 192.1 kB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.3635, allocations: 393.2 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.3635, allocations: 108.9 kB / 0.5712 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.3636, allocations: 108.9 kB / 0.5713 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.371e-05/0.3636, allocations: 176.3 kB / 0.5715 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.441e-05/0.3637, allocations: 184.2 kB / 0.5717 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-05/0.3638, allocations: 184.3 kB / 0.5718 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-05/0.3639, allocations: 176.3 kB / 0.572 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.364, allocations: 307.8 kB / 0.5723 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.3641, allocations: 186 kB / 0.5725 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/0.3642, allocations: 184.3 kB / 0.5726 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.3643, allocations: 105 kB / 0.5727 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/0.3644, allocations: 184.2 kB / 0.5729 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.3644, allocations: 105 kB / 0.573 GB, free: 8.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.514e-05/0.3645, allocations: 75.28 kB / 0.5731 GB, free: 8.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3645, allocations: 0 / 0.5731 GB, free: 8.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005203/0.365, allocations: 139.6 kB / 0.5732 GB, free: 8.207 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.000937/0.3659, allocations: 427.1 kB / 0.5736 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.452e-05/0.366, allocations: 3.938 kB / 0.5736 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.366, allocations: 11.94 kB / 0.5736 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.366, allocations: 4 kB / 0.5737 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3664, allocations: 455.6 kB / 0.5741 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.3666, allocations: 156.8 kB / 0.5742 GB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3669, allocations: 0.669 MB / 0.5749 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.763e-06/0.3669, allocations: 0 / 0.5749 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.367, allocations: 11.44 kB / 0.5749 GB, free: 6.438 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.367, allocations: 0 / 0.5749 GB, free: 6.438 MB / 414.1 MB Notification: Performance of Templates: time 0.007961/0.3749, allocations: 3.267 MB / 0.5781 GB, free: 3.172 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 -s gbode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.162638382986188]