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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001533/0.001533, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 212.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 230.2 MB / 256.7 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2185/0.2185, allocations: 46.89 MB / 359.9 MB, free: 5.023 MB / 286.1 MB [Timeout remaining time 90] 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=500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.003279/0.003279, allocations: 79.86 kB / 0.4949 GB, free: 8.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3501, allocations: 65.98 MB / 0.5594 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00158/0.3516, allocations: 491.1 kB / 0.5598 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003484/0.3551, allocations: 2.311 MB / 0.5621 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-06/0.3551, allocations: 0 / 0.5621 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.402e-06/0.3551, allocations: 4 kB / 0.5621 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.094e-06/0.3551, allocations: 0 / 0.5621 GB, free: 2.441 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.002211/0.3574, allocations: 0.6338 MB / 0.5627 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.56e-05/0.3574, allocations: 4 kB / 0.5627 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.3574, allocations: 3.984 kB / 0.5627 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.3576, allocations: 15.98 kB / 0.5628 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.811e-05/0.3576, allocations: 4 kB / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.3576, allocations: 0 / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.3588, allocations: 0.6788 MB / 0.5634 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-06/0.3588, allocations: 0 / 0.5634 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.3588, allocations: 0 / 0.5634 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000663/0.3595, allocations: 449.8 kB / 0.5638 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3595, allocations: 0 / 0.5638 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3595, allocations: 0 / 0.5638 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3595, allocations: 3.938 kB / 0.5639 GB, free: 0.668 MB / 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.0004799/0.3599, allocations: 436.4 kB / 0.5643 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.36, allocations: 12.03 kB / 0.5643 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.3601, allocations: 76.22 kB / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3602, allocations: 235.7 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.3603, allocations: 150.9 kB / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.3604, allocations: 158.7 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.09e-05/0.3605, allocations: 104.9 kB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.3605, allocations: 79.28 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.423e-05/0.3606, allocations: 154.5 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.934e-05/0.3607, allocations: 154.6 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.3608, allocations: 150.6 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.3611, allocations: 445.9 kB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.3612, allocations: 177.1 kB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.3612, allocations: 88.08 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.601e-05/0.3613, allocations: 75.28 kB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.128e-05/0.3614, allocations: 135.5 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3614, allocations: 0 / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.872e-05/0.3614, allocations: 29.7 kB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.599e-05/0.3615, allocations: 156.3 kB / 0.5665 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.41e-05/0.3616, allocations: 89.86 kB / 0.5666 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3616, allocations: 29.64 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.3616, allocations: 84.14 kB / 0.5667 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.3616, allocations: 0 / 0.5667 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.3617, allocations: 17.7 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3618, allocations: 314.8 kB / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-06/0.3618, allocations: 4 kB / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.356e-05/0.3618, allocations: 0 / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.3619, allocations: 79.28 kB / 0.5671 GB, free: 13.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-05/0.3619, allocations: 75.28 kB / 0.5672 GB, free: 12.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.715e-05/0.362, allocations: 29.7 kB / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.362, allocations: 83.28 kB / 0.5673 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/0.3621, allocations: 87.22 kB / 0.5674 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.799e-05/0.3622, allocations: 154.6 kB / 0.5675 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.172e-05/0.3622, allocations: 75.28 kB / 0.5676 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.76e-05/0.3623, allocations: 158.5 kB / 0.5678 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.186e-05/0.3624, allocations: 79.28 kB / 0.5678 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.3624, allocations: 79.22 kB / 0.5679 GB, free: 12.24 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.0001533/0.3626, allocations: 260.4 kB / 0.5682 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.3626, allocations: 112.9 kB / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.3627, allocations: 115.8 kB / 0.5684 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.702e-05/0.3628, allocations: 176.3 kB / 0.5686 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.658e-05/0.3629, allocations: 180.3 kB / 0.5687 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-05/0.363, allocations: 184.1 kB / 0.5689 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.3632, allocations: 405.2 kB / 0.5693 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.029e-05/0.3633, allocations: 112.9 kB / 0.5694 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.3633, allocations: 105 kB / 0.5695 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.754e-05/0.3634, allocations: 180.3 kB / 0.5697 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.21e-05/0.3635, allocations: 188.2 kB / 0.5698 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.612e-05/0.3636, allocations: 176.3 kB / 0.57 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.799e-05/0.3637, allocations: 184.2 kB / 0.5702 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.3639, allocations: 299.8 kB / 0.5705 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.364, allocations: 190 kB / 0.5707 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.016e-05/0.364, allocations: 180.3 kB / 0.5708 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3641, allocations: 108.9 kB / 0.5709 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.3642, allocations: 184.2 kB / 0.5711 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.3643, allocations: 101 kB / 0.5712 GB, free: 8.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.697e-05/0.3643, allocations: 79.28 kB / 0.5713 GB, free: 8.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3643, allocations: 0 / 0.5713 GB, free: 8.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005832/0.3649, allocations: 143.5 kB / 0.5714 GB, free: 8.434 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.0009388/0.3658, allocations: 425.4 kB / 0.5718 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.603e-05/0.3659, allocations: 8 kB / 0.5718 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3659, allocations: 0 / 0.5718 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3659, allocations: 0 / 0.5718 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.3663, allocations: 463.6 kB / 0.5723 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.3665, allocations: 170.1 kB / 0.5724 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3668, allocations: 0.669 MB / 0.5731 GB, free: 6.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.3668, allocations: 11.44 kB / 0.5731 GB, free: 6.648 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3668, allocations: 0 / 0.5731 GB, free: 6.648 MB / 414.1 MB Notification: Performance of Templates: time 0.005624/0.3725, allocations: 2.856 MB / 0.5759 GB, free: 3.789 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