Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.0013/0.0013, allocations: 106.5 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.001425/0.001425, allocations: 212.6 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.549/1.549, allocations: 230.6 MB / 258.3 MB, free: 8.078 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001998/0.001998, allocations: 64.77 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2814, allocations: 53.37 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001838/0.2832, allocations: 0.5267 MB / 432.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.2855, allocations: 1.574 MB / 434.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.2855, allocations: 0 / 434.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.2855, allocations: 0 / 434.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007113/0.2863, allocations: 175.4 kB / 434.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.269e-05/0.2863, allocations: 4 kB / 434.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.1e-05/0.2863, allocations: 11.94 kB / 434.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.2864, allocations: 7.984 kB / 434.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.2865, allocations: 11.94 kB / 434.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.2865, allocations: 8 kB / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.2865, allocations: 7.922 kB / 434.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.287, allocations: 243.7 kB / 435 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.287, allocations: 7.938 kB / 435 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.287, allocations: 0 / 435 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.2873, allocations: 181.2 kB / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2873, allocations: 0 / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2873, allocations: 0 / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.2873, allocations: 0 / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004958/0.2878, allocations: 298 kB / 435.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2879, allocations: 8.031 kB / 435.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.2879, allocations: 0.9375 kB / 435.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.2881, allocations: 114.5 kB / 435.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2881, allocations: 384 / 435.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.2881, allocations: 4.375 kB / 435.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.07e-05/0.2882, allocations: 38 kB / 435.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2882, allocations: 0 / 435.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2882, allocations: 11.94 kB / 435.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2882, allocations: 0 / 435.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.599e-05/0.2882, allocations: 7.938 kB / 435.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.2884, allocations: 128.8 kB / 435.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.037e-05/0.2885, allocations: 30.61 kB / 435.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/0.2885, allocations: 8.859 kB / 435.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2885, allocations: 0 / 435.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.2886, allocations: 46.5 kB / 435.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2886, allocations: 0 / 435.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001661/0.2888, allocations: 53.67 kB / 435.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.2888, allocations: 51.41 kB / 435.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2889, allocations: 106 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2889, allocations: 29.7 kB / 436.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.289, allocations: 80.14 kB / 436.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.289, allocations: 15.88 kB / 436.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.289, allocations: 21.72 kB / 436.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2892, allocations: 318.8 kB / 436.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.2892, allocations: 4 kB / 436.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.2892, allocations: 25.7 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.061e-05/0.2893, allocations: 25.66 kB / 436.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2893, allocations: 0 / 436.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001022/0.2894, allocations: 65.62 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2894, allocations: 7.938 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2894, allocations: 0 / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2894, allocations: 0 / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.2895, allocations: 8 kB / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2895, allocations: 0 / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.2895, allocations: 4 kB / 436.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.2895, allocations: 0 / 436.6 MB, free: 2.551 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 8.133e-05/0.2896, allocations: 117.8 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.2896, allocations: 3.938 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.2896, allocations: 7.719 kB / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2896, allocations: 128 / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2897, allocations: 4 kB / 436.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2897, allocations: 4 kB / 436.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.2898, allocations: 128.7 kB / 436.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2898, allocations: 3.938 kB / 436.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.2898, allocations: 4 kB / 436.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2898, allocations: 7.938 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2899, allocations: 0 / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2899, allocations: 0 / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2899, allocations: 11.92 kB / 436.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.29, allocations: 73.12 kB / 437 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.29, allocations: 11.91 kB / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.29, allocations: 0 / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.765e-05/0.29, allocations: 0 / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.2901, allocations: 0 / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.2901, allocations: 3.984 kB / 437 MB, free: 2.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.983e-05/0.2901, allocations: 83.28 kB / 437.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2901, allocations: 4.062 kB / 437.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.2904, allocations: 55.86 kB / 437.1 MB, free: 1.961 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * 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 (3): * Single equations (assignments): 3 * 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.0002817/0.2907, allocations: 147.1 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2908, allocations: 23.92 kB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2908, allocations: 0 / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.2908, allocations: 4 kB / 437.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.291, allocations: 4.609 kB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.2913, allocations: 142.1 kB / 437.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.2916, allocations: 0.6807 MB / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.326e-05/0.2917, allocations: 0 / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.2917, allocations: 15.38 kB / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2917, allocations: 0 / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of Templates: time 0.004091/0.2958, allocations: 1.144 MB / 439.3 MB, free: 15.74 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.648210382089019]