Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 47.92 kB / 368.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2531, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.00185/0.2549, allocations: 0.5347 MB / 421.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.2571, allocations: 1.507 MB / 422.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.2571, allocations: 0 / 422.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.2571, allocations: 0 / 422.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005993/0.2577, allocations: 174.1 kB / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.422e-05/0.2577, allocations: 7.938 kB / 423.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.2578, allocations: 11.98 kB / 423.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.2578, allocations: 7.984 kB / 423.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.2579, allocations: 12 kB / 423.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.2579, allocations: 11.88 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2579, allocations: 0 / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.2583, allocations: 239.7 kB / 423.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.2583, allocations: 0 / 423.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.2584, allocations: 15.86 kB / 423.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.2587, allocations: 172.8 kB / 423.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2587, allocations: 0 / 423.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2587, allocations: 0 / 423.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2587, allocations: 0 / 423.5 MB, free: 12.45 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.0005451/0.2592, allocations: 367.1 kB / 423.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2592, allocations: 12.03 kB / 423.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.2593, allocations: 0.9375 kB / 423.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.2595, allocations: 168.3 kB / 424.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.2595, allocations: 384 / 424.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.2595, allocations: 384 / 424.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.2596, allocations: 42 kB / 424.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.2596, allocations: 4 kB / 424.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2596, allocations: 4 kB / 424.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2596, allocations: 0 / 424.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.786e-05/0.2597, allocations: 11.92 kB / 424.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.2599, allocations: 153.7 kB / 424.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.299e-05/0.26, allocations: 30.58 kB / 424.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.26, allocations: 12.86 kB / 424.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.26, allocations: 96 / 424.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.26, allocations: 42.48 kB / 424.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.26, allocations: 0 / 424.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001526/0.2602, allocations: 53.61 kB / 424.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.2602, allocations: 51.41 kB / 424.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2603, allocations: 101.9 kB / 424.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2604, allocations: 25.7 kB / 424.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.2604, allocations: 80.14 kB / 424.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.2604, allocations: 27.77 kB / 424.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.2605, allocations: 21.72 kB / 424.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2606, allocations: 310.8 kB / 425 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.2606, allocations: 7.984 kB / 425 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-05/0.2607, allocations: 17.72 kB / 425.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.055e-05/0.2607, allocations: 33.66 kB / 425.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2607, allocations: 3.938 kB / 425.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.911e-05/0.2608, allocations: 57.61 kB / 425.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2608, allocations: 11.94 kB / 425.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2608, allocations: 4 kB / 425.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2609, allocations: 0 / 425.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.2609, allocations: 11.98 kB / 425.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.2609, allocations: 0 / 425.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.261, allocations: 0 / 425.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.261, allocations: 4 kB / 425.2 MB, free: 10.57 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.393e-05/0.261, allocations: 113.8 kB / 425.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.2611, allocations: 3.938 kB / 425.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.2611, allocations: 11.5 kB / 425.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2611, allocations: 0 / 425.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2611, allocations: 0 / 425.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2611, allocations: 0 / 425.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.2612, allocations: 153.7 kB / 425.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2612, allocations: 0 / 425.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.2613, allocations: 16.11 kB / 425.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2613, allocations: 3.938 kB / 425.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2613, allocations: 4 kB / 425.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2613, allocations: 3.938 kB / 425.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2613, allocations: 4 kB / 425.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.2614, allocations: 73.08 kB / 425.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.2615, allocations: 85.08 kB / 425.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.2615, allocations: 0 / 425.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/0.2615, allocations: 11.98 kB / 425.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.2616, allocations: 0 / 425.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.2616, allocations: 4 kB / 425.7 MB, free: 9.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.149e-05/0.2616, allocations: 79.75 kB / 425.7 MB, free: 9.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2616, allocations: 4.062 kB / 425.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.2619, allocations: 59.8 kB / 425.8 MB, free: 9.855 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.0002891/0.2622, allocations: 143.1 kB / 425.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.2623, allocations: 28.05 kB / 426 MB, free: 9.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2623, allocations: 0 / 426 MB, free: 9.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.376e-05/0.2623, allocations: 4 kB / 426 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.2625, allocations: 7.266 kB / 426 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.2628, allocations: 150 kB / 426.1 MB, free: 9.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.2632, allocations: 0.6844 MB / 426.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.2633, allocations: 4 kB / 426.8 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.2633, allocations: 11.38 kB / 426.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.2633, allocations: 0 / 426.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of Templates: time 0.003713/0.267, allocations: 1.081 MB / 427.9 MB, free: 7.691 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.3409363236278296]