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.001104/0.001104, allocations: 75.77 kB / 22.46 MB, free: 2.094 MB / 18.57 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.001187/0.001187, allocations: 164.1 kB / 25.75 MB, free: 8.961 MB / 18.57 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 0.9057/0.9057, allocations: 158.6 MB / 187.5 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.822e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0009904/0.001009, allocations: 0.5469 MB / 251.7 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.002544, allocations: 1.486 MB / 253.1 MB, free: 5.738 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.002574, allocations: 0 / 253.1 MB, free: 5.738 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.002591, allocations: 0 / 253.1 MB, free: 5.738 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.003131, allocations: 179.2 kB / 253.3 MB, free: 5.562 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.871e-05/0.00315, allocations: 8 kB / 253.3 MB, free: 5.555 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.003209, allocations: 15.92 kB / 253.3 MB, free: 5.539 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.003242, allocations: 3.984 kB / 253.3 MB, free: 5.535 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.816e-05/0.0033, allocations: 15.98 kB / 253.4 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.003344, allocations: 0 / 253.4 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.003362, allocations: 4 kB / 253.4 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.003625, allocations: 227.6 kB / 253.6 MB, free: 5.293 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.003638, allocations: 11.91 kB / 253.6 MB, free: 5.281 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.478e-05/0.003653, allocations: 0 / 253.6 MB, free: 5.281 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.003867, allocations: 207.6 kB / 253.8 MB, free: 5.078 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.00387, allocations: 4 kB / 253.8 MB, free: 5.074 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00387, allocations: 0 / 253.8 MB, free: 5.074 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.003874, allocations: 3.984 kB / 253.8 MB, free: 5.07 MB / 234.7 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.0002932/0.004167, allocations: 384.3 kB / 254.2 MB, free: 4.66 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.004198, allocations: 15.98 kB / 254.2 MB, free: 4.645 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.004227, allocations: 4.875 kB / 254.2 MB, free: 4.641 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.869e-05/0.004306, allocations: 116.6 kB / 254.3 MB, free: 4.5 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.004314, allocations: 4.312 kB / 254.3 MB, free: 4.496 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.00433, allocations: 8.359 kB / 254.3 MB, free: 4.488 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.413e-05/0.004384, allocations: 30.27 kB / 254.4 MB, free: 4.453 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.004392, allocations: 8.141 kB / 254.4 MB, free: 4.445 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.004399, allocations: 4.359 kB / 254.4 MB, free: 4.441 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.004406, allocations: 3.938 kB / 254.4 MB, free: 4.438 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.381e-05/0.004429, allocations: 8 kB / 254.4 MB, free: 4.43 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.004539, allocations: 116.7 kB / 254.5 MB, free: 4.281 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.392e-05/0.004592, allocations: 39 kB / 254.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.004611, allocations: 7.688 kB / 254.5 MB, free: 4.219 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.004618, allocations: 8.078 kB / 254.6 MB, free: 4.211 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.004639, allocations: 37.39 kB / 254.6 MB, free: 4.164 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 6.62e-07/0.004639, allocations: 0 / 254.6 MB, free: 4.164 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001046/0.004744, allocations: 45.62 kB / 254.6 MB, free: 4.113 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.004773, allocations: 63.34 kB / 254.7 MB, free: 4.039 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.004844, allocations: 157.9 kB / 254.9 MB, free: 3.867 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.004852, allocations: 25.7 kB / 254.9 MB, free: 3.836 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.00489, allocations: 134.9 kB / 255 MB, free: 3.699 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.00492, allocations: 15.84 kB / 255 MB, free: 3.684 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.004946, allocations: 23.38 kB / 255 MB, free: 3.652 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.00507, allocations: 492.1 kB / 255.5 MB, free: 3.16 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.005083, allocations: 7.984 kB / 255.5 MB, free: 3.152 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.005106, allocations: 23.38 kB / 255.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.005142, allocations: 35.31 kB / 255.6 MB, free: 3.078 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.005144, allocations: 4 kB / 255.6 MB, free: 3.074 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.378e-05/0.005198, allocations: 49.81 kB / 255.6 MB, free: 3.02 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.005212, allocations: 4 kB / 255.7 MB, free: 3.016 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.005217, allocations: 4.422 kB / 255.7 MB, free: 3.012 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.005229, allocations: 0 / 255.7 MB, free: 3.012 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.392e-05/0.005302, allocations: 15.92 kB / 255.7 MB, free: 2.996 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005308, allocations: 3.938 kB / 255.7 MB, free: 2.992 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.173e-05/0.005319, allocations: 4 kB / 255.7 MB, free: 2.988 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-06/0.005323, allocations: 0 / 255.7 MB, free: 2.988 MB / 234.7 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 6.041e-05/0.005383, allocations: 164.6 kB / 255.8 MB, free: 2.816 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-06/0.00539, allocations: 3.953 kB / 255.8 MB, free: 2.812 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.005416, allocations: 11.67 kB / 255.9 MB, free: 2.797 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005418, allocations: 7.938 kB / 255.9 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.005423, allocations: 3.938 kB / 255.9 MB, free: 2.785 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005426, allocations: 0 / 255.9 MB, free: 2.785 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.967e-05/0.005485, allocations: 116.6 kB / 256 MB, free: 2.637 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005486, allocations: 0 / 256 MB, free: 2.637 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.005523, allocations: 8 kB / 256 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.005524, allocations: 0 / 256 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.005533, allocations: 0 / 256 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.005535, allocations: 7.984 kB / 256 MB, free: 2.621 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005536, allocations: 0 / 256 MB, free: 2.621 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.818e-05/0.005634, allocations: 92.31 kB / 256.1 MB, free: 2.508 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.005641, allocations: 7.953 kB / 256.1 MB, free: 2.5 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-06/0.00565, allocations: 0 / 256.1 MB, free: 2.5 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-06/0.005658, allocations: 0 / 256.1 MB, free: 2.5 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.005671, allocations: 3.984 kB / 256.1 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.005676, allocations: 7.938 kB / 256.1 MB, free: 2.488 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.9e-05/0.005715, allocations: 127.2 kB / 256.2 MB, free: 2.363 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005715, allocations: 0 / 256.2 MB, free: 2.363 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.005887, allocations: 51.86 kB / 256.3 MB, free: 2.312 MB / 234.7 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.0001807/0.006068, allocations: 159.1 kB / 256.4 MB, free: 2.148 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.768e-05/0.006136, allocations: 27.61 kB / 256.5 MB, free: 2.117 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.006137, allocations: 0 / 256.5 MB, free: 2.117 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.006148, allocations: 11.69 kB / 256.5 MB, free: 2.102 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.006248, allocations: 8 kB / 256.5 MB, free: 2.094 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.006456, allocations: 128.7 kB / 256.6 MB, free: 1.941 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.754e-05/0.006484, allocations: 59.3 kB / 256.7 MB, free: 1.863 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.164e-05/0.006515, allocations: 12.05 kB / 256.7 MB, free: 1.852 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.00653, allocations: 8.5 kB / 256.7 MB, free: 1.844 MB / 234.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006531, allocations: 0 / 256.7 MB, free: 1.844 MB / 234.7 MB Notification: Performance of Templates: time 0.002322/0.008853, allocations: 1.121 MB / 257.8 MB, free: 0.7227 MB / 234.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6390645960345864]