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.001989/0.001989, allocations: 96.3 kB / 21.73 MB, free: 2.695 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.002569/0.002569, allocations: 166.6 kB / 25.02 MB, free: 8.43 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 1.44/1.44, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.465e-05, allocations: 2.312 kB / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001984/0.002018, allocations: 0.5382 MB / 250.9 MB, free: 3.398 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.00443, allocations: 1.451 MB / 252.4 MB, free: 1.93 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.004455, allocations: 0 / 252.4 MB, free: 1.93 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.004468, allocations: 0 / 252.4 MB, free: 1.93 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006534/0.005121, allocations: 167.4 kB / 252.5 MB, free: 1.766 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.681e-05/0.005148, allocations: 11.86 kB / 252.5 MB, free: 1.754 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.718e-05/0.005205, allocations: 16 kB / 252.5 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.005243, allocations: 8 kB / 252.5 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.872e-05/0.005312, allocations: 15.91 kB / 252.6 MB, free: 1.715 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.005364, allocations: 4 kB / 252.6 MB, free: 1.711 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.005381, allocations: 4 kB / 252.6 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.005794, allocations: 231.6 kB / 252.8 MB, free: 1.48 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.00581, allocations: 7.922 kB / 252.8 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.005833, allocations: 0 / 252.8 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.006185, allocations: 215.5 kB / 253 MB, free: 1.262 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.006188, allocations: 0 / 253 MB, free: 1.262 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006189, allocations: 0 / 253 MB, free: 1.262 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.006193, allocations: 4 kB / 253 MB, free: 1.258 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.0004899/0.006683, allocations: 278 kB / 253.3 MB, free: 0.957 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.006724, allocations: 15.98 kB / 253.3 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.006766, allocations: 0.9375 kB / 253.3 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.006916, allocations: 117.7 kB / 253.4 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.006929, allocations: 4.375 kB / 253.4 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.006957, allocations: 4.375 kB / 253.4 MB, free: 0.793 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.751e-05/0.007045, allocations: 34.25 kB / 253.5 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.007055, allocations: 192 / 253.5 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.007065, allocations: 4.359 kB / 253.5 MB, free: 0.75 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.007071, allocations: 11.88 kB / 253.5 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.209e-05/0.007103, allocations: 8 kB / 253.5 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.007267, allocations: 109.3 kB / 253.6 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/0.007345, allocations: 30.52 kB / 253.6 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.007375, allocations: 12.98 kB / 253.6 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.007385, allocations: 0 / 253.6 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.007418, allocations: 34.56 kB / 253.7 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.007419, allocations: 0 / 253.7 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.000172/0.007591, allocations: 49.64 kB / 253.7 MB, free: 452 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.00764, allocations: 59.28 kB / 253.8 MB, free: 380 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.00775, allocations: 109.8 kB / 253.9 MB, free: 260 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.007769, allocations: 25.7 kB / 253.9 MB, free: 228 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.007821, allocations: 84.14 kB / 254 MB, free: 140 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.007849, allocations: 11.91 kB / 254 MB, free: 128 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.007886, allocations: 17.72 kB / 254 MB, free: 104 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.008075, allocations: 314.8 kB / 254.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.008094, allocations: 8 kB / 254.3 MB, free: 15.78 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.008125, allocations: 17.72 kB / 254.4 MB, free: 15.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.008176, allocations: 25.72 kB / 254.4 MB, free: 15.72 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.008178, allocations: 0 / 254.4 MB, free: 15.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.953e-05/0.008277, allocations: 65.62 kB / 254.4 MB, free: 15.65 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.00829, allocations: 4 kB / 254.4 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.008294, allocations: 128 / 254.4 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.008314, allocations: 4 kB / 254.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.008391, allocations: 11.98 kB / 254.5 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.0084, allocations: 7.875 kB / 254.5 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.00842, allocations: 4 kB / 254.5 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.008424, allocations: 0 / 254.5 MB, free: 15.62 MB / 250.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 9.511e-05/0.008519, allocations: 109.8 kB / 254.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.008535, allocations: 4 kB / 254.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.008558, allocations: 7.719 kB / 254.6 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.008562, allocations: 4 kB / 254.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.008568, allocations: 3.938 kB / 254.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.008573, allocations: 4.406 kB / 254.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.008688, allocations: 109.2 kB / 254.7 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008689, allocations: 0 / 254.7 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.00875, allocations: 11.94 kB / 254.7 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008752, allocations: 0 / 254.7 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.008762, allocations: 3.984 kB / 254.7 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008763, allocations: 0 / 254.7 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008763, allocations: 0 / 254.7 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.008908, allocations: 92.98 kB / 254.8 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.008913, allocations: 0 / 254.8 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.008925, allocations: 0 / 254.8 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/0.008943, allocations: 0 / 254.8 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.008957, allocations: 8.016 kB / 254.8 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.008962, allocations: 3.938 kB / 254.8 MB, free: 15.2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.009019, allocations: 83.28 kB / 254.9 MB, free: 15.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009019, allocations: 0 / 254.9 MB, free: 15.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.009283, allocations: 51.86 kB / 255 MB, free: 15.07 MB / 250.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.0003003/0.009583, allocations: 163.1 kB / 255.1 MB, free: 14.9 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.673e-05/0.00967, allocations: 19.92 kB / 255.1 MB, free: 14.88 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.009672, allocations: 0 / 255.1 MB, free: 14.88 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.009691, allocations: 12 kB / 255.2 MB, free: 14.87 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.009835, allocations: 3.953 kB / 255.2 MB, free: 14.87 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.0101, allocations: 123 kB / 255.3 MB, free: 14.72 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.367e-05/0.01016, allocations: 67.28 kB / 255.3 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.561e-05/0.01024, allocations: 3.984 kB / 255.3 MB, free: 14.63 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.01027, allocations: 12.56 kB / 255.4 MB, free: 14.62 MB / 250.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01027, allocations: 4 kB / 255.4 MB, free: 14.62 MB / 250.7 MB Notification: Performance of Templates: time 0.00394/0.01421, allocations: 1.113 MB / 256.5 MB, free: 13.5 MB / 250.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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins/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.389196892967448]