Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 83.42 kB / 21.99 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002486/0.002486, allocations: 161.4 kB / 25.24 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 59.92 kB / 299.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2588, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001904/0.2607, allocations: 0.524 MB / 349 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.2627, allocations: 1.442 MB / 350.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.2628, allocations: 0 / 350.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.2628, allocations: 0 / 350.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006159/0.2634, allocations: 179.2 kB / 350.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.627e-05/0.2634, allocations: 4 kB / 350.7 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.962e-05/0.2635, allocations: 23.84 kB / 350.7 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.2635, allocations: 4 kB / 350.7 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.2636, allocations: 4 kB / 350.7 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.629e-05/0.2636, allocations: 11.92 kB / 350.7 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.2637, allocations: 7.938 kB / 350.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.2641, allocations: 223.7 kB / 350.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.2641, allocations: 4 kB / 350.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.2641, allocations: 7.922 kB / 350.9 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.2644, allocations: 174.1 kB / 351.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2644, allocations: 0 / 351.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2644, allocations: 0 / 351.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2644, allocations: 0 / 351.1 MB, free: 12.91 MB / 318.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.0005107/0.2649, allocations: 293.9 kB / 351.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.265, allocations: 11.98 kB / 351.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.265, allocations: 8.875 kB / 351.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.2651, allocations: 110.5 kB / 351.5 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2652, allocations: 8.375 kB / 351.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.2652, allocations: 4.375 kB / 351.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.2653, allocations: 41.98 kB / 351.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2653, allocations: 0 / 351.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2653, allocations: 0 / 351.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2653, allocations: 0 / 351.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.2654, allocations: 11.98 kB / 351.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.2655, allocations: 109.3 kB / 351.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.879e-05/0.2656, allocations: 38.55 kB / 351.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.2656, allocations: 4.859 kB / 351.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.2657, allocations: 4 kB / 351.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.2657, allocations: 34.56 kB / 351.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.2657, allocations: 0 / 351.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001938/0.2659, allocations: 53.66 kB / 351.8 MB, free: 12.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.2659, allocations: 51.41 kB / 351.9 MB, free: 12.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.266, allocations: 105.8 kB / 352 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.2661, allocations: 25.7 kB / 352 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.2661, allocations: 84.14 kB / 352.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.2661, allocations: 11.91 kB / 352.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.2662, allocations: 17.72 kB / 352.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2663, allocations: 318.8 kB / 352.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.2663, allocations: 8 kB / 352.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.753e-05/0.2664, allocations: 21.72 kB / 352.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.433e-05/0.2664, allocations: 33.64 kB / 352.5 MB, free: 11.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2664, allocations: 0 / 352.5 MB, free: 11.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.592e-05/0.2665, allocations: 49.69 kB / 352.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2665, allocations: 8 kB / 352.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2665, allocations: 3.938 kB / 352.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2666, allocations: 0 / 352.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.2666, allocations: 12 kB / 352.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2666, allocations: 11.81 kB / 352.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.2667, allocations: 4.031 kB / 352.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.2667, allocations: 4 kB / 352.6 MB, free: 11.25 MB / 318.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.888e-05/0.2668, allocations: 105.8 kB / 352.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.2668, allocations: 7.953 kB / 352.7 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.2668, allocations: 16.03 kB / 352.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.2668, allocations: 0 / 352.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2668, allocations: 0 / 352.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2668, allocations: 0 / 352.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.2669, allocations: 105.3 kB / 352.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2669, allocations: 3.984 kB / 352.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.267, allocations: 7.984 kB / 352.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.267, allocations: 4 kB / 352.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.267, allocations: 4.125 kB / 352.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.267, allocations: 7.938 kB / 352.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.267, allocations: 0 / 352.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.2671, allocations: 74.72 kB / 352.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.2672, allocations: 11.98 kB / 352.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.2672, allocations: 0 / 352.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.2672, allocations: 3.938 kB / 352.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.2672, allocations: 3.984 kB / 352.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.2672, allocations: 0 / 352.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.608e-05/0.2673, allocations: 87.34 kB / 353 MB, free: 10.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2673, allocations: 0 / 353 MB, free: 10.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.2675, allocations: 55.86 kB / 353.1 MB, free: 10.7 MB / 318.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.000264/0.2678, allocations: 143 kB / 353.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.2679, allocations: 23.92 kB / 353.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2679, allocations: 0 / 353.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.2679, allocations: 8 kB / 353.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.2681, allocations: 4 kB / 353.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.2684, allocations: 138 kB / 353.4 MB, free: 10.35 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.605e-05/0.2684, allocations: 67.39 kB / 353.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.5e-05/0.2685, allocations: 4 kB / 353.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.2685, allocations: 16.44 kB / 353.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2685, allocations: 0 / 353.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of Templates: time 0.003852/0.2724, allocations: 1.075 MB / 354.5 MB, free: 9.168 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.416287683998235]