Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001311/0.001311, allocations: 72.69 kB / 20.67 MB, free: 1.016 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.001423/0.001423, allocations: 164.9 kB / 23.96 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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+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_4.1.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.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.326e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001277/0.0013, allocations: 0.5342 MB / 325.6 MB, free: 228 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.003342, allocations: 1.477 MB / 327.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.003364, allocations: 3.938 kB / 327.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.003381, allocations: 0 / 327.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006307/0.004012, allocations: 178.6 kB / 327.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.594e-05/0.004038, allocations: 8.734 kB / 327.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.004101, allocations: 13.66 kB / 327.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.004153, allocations: 3.766 kB / 327.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.232e-05/0.004215, allocations: 5.75 kB / 327.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.004277, allocations: 8.281 kB / 327.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.004295, allocations: 2.781 kB / 327.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005531/0.004848, allocations: 242.3 kB / 327.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.004864, allocations: 1.812 kB / 327.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.004886, allocations: 3.062 kB / 327.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.005351, allocations: 225.4 kB / 327.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005353, allocations: 1.031 kB / 327.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005354, allocations: 0 / 327.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.005359, allocations: 0 / 327.7 MB, free: 14.96 MB / 302.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.0005545/0.005913, allocations: 287.7 kB / 328 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.005951, allocations: 9.188 kB / 328 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.005986, allocations: 7.062 kB / 328 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.006128, allocations: 110.1 kB / 328.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.006143, allocations: 2.719 kB / 328.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.006162, allocations: 1.594 kB / 328.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.553e-05/0.006258, allocations: 35.98 kB / 328.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.006274, allocations: 2.625 kB / 328.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.006283, allocations: 384 / 328.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.006291, allocations: 3.938 kB / 328.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.006329, allocations: 6.969 kB / 328.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.00649, allocations: 105.3 kB / 328.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.066e-05/0.006571, allocations: 34.72 kB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.006599, allocations: 18.12 kB / 328.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.006607, allocations: 0 / 328.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.00664, allocations: 32.36 kB / 328.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 3.065e-06/0.006643, allocations: 5.391 kB / 328.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001667/0.00681, allocations: 49.98 kB / 328.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.006857, allocations: 56.66 kB / 328.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.006964, allocations: 105.9 kB / 328.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.006979, allocations: 25.7 kB / 328.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.007021, allocations: 82.09 kB / 328.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.00705, allocations: 19.11 kB / 328.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.00708, allocations: 17.97 kB / 328.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.007213, allocations: 318.7 kB / 329.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.007231, allocations: 8.703 kB / 329.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.007265, allocations: 24.05 kB / 329.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.805e-05/0.007313, allocations: 25.75 kB / 329.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.007315, allocations: 0 / 329.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.127e-05/0.007406, allocations: 58.33 kB / 329.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.007419, allocations: 6.125 kB / 329.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.007422, allocations: 0 / 329.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.007437, allocations: 5.031 kB / 329.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.007509, allocations: 8.766 kB / 329.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.007519, allocations: 5.656 kB / 329.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/0.00754, allocations: 1.344 kB / 329.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.007544, allocations: 1.031 kB / 329.2 MB, free: 13.52 MB / 302.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 7.647e-05/0.007621, allocations: 116.5 kB / 329.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.007632, allocations: 1.625 kB / 329.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.007661, allocations: 5.297 kB / 329.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.007662, allocations: 1.188 kB / 329.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.007669, allocations: 4.859 kB / 329.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.007671, allocations: 5.031 kB / 329.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.902e-05/0.00777, allocations: 114 kB / 329.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.007771, allocations: 0 / 329.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.007829, allocations: 7.062 kB / 329.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.007831, allocations: 0 / 329.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.007839, allocations: 1.219 kB / 329.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.00784, allocations: 0 / 329.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007841, allocations: 2.656 kB / 329.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.007977, allocations: 78.02 kB / 329.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-06/0.007984, allocations: 5.719 kB / 329.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.007996, allocations: 1.031 kB / 329.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.008016, allocations: 5.75 kB / 329.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.00803, allocations: 2.406 kB / 329.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.008036, allocations: 5.688 kB / 329.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.507e-05/0.008091, allocations: 84 kB / 329.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.008091, allocations: 1.062 kB / 329.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.008405, allocations: 52.33 kB / 329.7 MB, free: 13.07 MB / 302.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.0003659/0.008771, allocations: 168.1 kB / 329.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.008897, allocations: 23.03 kB / 329.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.0089, allocations: 0 / 329.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-05/0.008922, allocations: 14.5 kB / 329.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.009074, allocations: 1.031 kB / 329.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.00943, allocations: 113.9 kB / 330 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.157e-05/0.009511, allocations: 73.64 kB / 330.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.193e-05/0.009563, allocations: 3.922 kB / 330.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.009593, allocations: 11.73 kB / 330.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of SimCode: time 8.52e-07/0.009594, allocations: 0 / 330.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of Templates: time 0.004305/0.0139, allocations: 1.143 MB / 331.2 MB, free: 12.38 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.1790318377316]