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.001613/0.001613, allocations: 105.1 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.002193/0.002193, allocations: 213.9 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.529/1.529, allocations: 230.3 MB / 258 MB, free: 8.234 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.2386/0.2386, allocations: 46.94 MB / 361.4 MB, free: 4.402 MB / 286.1 MB " [Timeout remaining time 179] 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.002334/0.002334, allocations: 75.88 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4986, allocations: 66.04 MB / 0.5616 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002055/0.5007, allocations: 0.4892 MB / 0.5621 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.5055, allocations: 2.323 MB / 0.5644 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-06/0.5055, allocations: 4 kB / 0.5644 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.218e-06/0.5055, allocations: 0 / 0.5644 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.342e-06/0.5055, allocations: 4 kB / 0.5644 GB, free: 1.723 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.003042/0.5085, allocations: 0.6329 MB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.509e-05/0.5086, allocations: 7.984 kB / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.5086, allocations: 0 / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.5088, allocations: 19.92 kB / 0.565 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.473e-05/0.5088, allocations: 4 kB / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.5088, allocations: 0 / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.5103, allocations: 0.6789 MB / 0.5657 GB, free: 396 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.684e-06/0.5103, allocations: 0 / 0.5657 GB, free: 396 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.5104, allocations: 4 kB / 0.5657 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008739/0.5112, allocations: 450.8 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5112, allocations: 0 / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5112, allocations: 0 / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.5113, allocations: 3.938 kB / 0.5661 GB, free: 15.94 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.000505/0.5118, allocations: 359.3 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.5118, allocations: 12.03 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.5119, allocations: 76.22 kB / 0.5666 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.512, allocations: 177.8 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/0.5121, allocations: 150.9 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.5122, allocations: 154.7 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.5123, allocations: 112.9 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/0.5123, allocations: 75.28 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/0.5124, allocations: 150.6 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.667e-05/0.5125, allocations: 158.5 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.674e-05/0.5126, allocations: 154.6 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.513, allocations: 421 kB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.5131, allocations: 169.1 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.5131, allocations: 88.08 kB / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.5132, allocations: 75.28 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.904e-05/0.5133, allocations: 131.5 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5133, allocations: 4 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001032/0.5134, allocations: 29.7 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.5135, allocations: 160.3 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.5136, allocations: 89.86 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.5136, allocations: 25.7 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.5136, allocations: 84.14 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-06/0.5136, allocations: 0 / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.5137, allocations: 17.7 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5138, allocations: 318.8 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-06/0.5138, allocations: 0 / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/0.5139, allocations: 0 / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.426e-05/0.5139, allocations: 75.28 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.909e-05/0.514, allocations: 79.28 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.925e-05/0.514, allocations: 29.7 kB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.5141, allocations: 83.28 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.025e-05/0.5141, allocations: 83.23 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-05/0.5142, allocations: 158.6 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.5143, allocations: 79.22 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.41e-05/0.5143, allocations: 154.6 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.5144, allocations: 79.28 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.5145, allocations: 83.27 kB / 0.5701 GB, free: 11.71 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.0001633/0.5147, allocations: 265.3 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.655e-05/0.5147, allocations: 104.9 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.5148, allocations: 115.7 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.769e-05/0.5149, allocations: 180.3 kB / 0.5707 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.084e-05/0.515, allocations: 184.3 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-05/0.5151, allocations: 180.2 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.5154, allocations: 376.3 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.616e-05/0.5155, allocations: 108.9 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.5155, allocations: 101 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-05/0.5156, allocations: 180.3 kB / 0.5718 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-05/0.5157, allocations: 184.2 kB / 0.5719 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.433e-05/0.5158, allocations: 184.2 kB / 0.5721 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.043e-05/0.5159, allocations: 180.2 kB / 0.5723 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.5161, allocations: 303.8 kB / 0.5726 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.5161, allocations: 112.9 kB / 0.5727 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.5162, allocations: 184.2 kB / 0.5729 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.5164, allocations: 108.9 kB / 0.573 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5165, allocations: 184.2 kB / 0.5731 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/0.5165, allocations: 108.9 kB / 0.5732 GB, free: 8.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.381e-05/0.5166, allocations: 75.28 kB / 0.5733 GB, free: 8.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5166, allocations: 0 / 0.5733 GB, free: 8.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007153/0.5173, allocations: 139.6 kB / 0.5734 GB, free: 8.027 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.001159/0.5184, allocations: 400.3 kB / 0.5738 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.78e-05/0.5185, allocations: 7.984 kB / 0.5738 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.5185, allocations: 0 / 0.5738 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.5185, allocations: 4 kB / 0.5738 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.519, allocations: 462.1 kB / 0.5743 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.5192, allocations: 148.3 kB / 0.5744 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.5196, allocations: 0.6729 MB / 0.5751 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.076e-06/0.5196, allocations: 0 / 0.5751 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.5196, allocations: 7.438 kB / 0.5751 GB, free: 6.285 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5196, allocations: 0 / 0.5751 GB, free: 6.285 MB / 414.1 MB Notification: Performance of Templates: time 0.01094/0.5305, allocations: 3.273 MB / 0.5783 GB, free: 3.016 MB / 414.1 MB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins/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: 5.5741415778175]