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.001641/0.001641, allocations: 113 kB / 18.45 MB, free: 4.602 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.002001/0.002001, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 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.487/1.487, allocations: 225.6 MB / 249.8 MB, free: 3.645 MB / 190.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.001514/0.001514, allocations: 55.91 kB / 366.8 MB, free: 380 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1059, allocations: 52.14 MB / 418.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001645/0.1076, allocations: 0.524 MB / 419.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1095, allocations: 1.495 MB / 421 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.1095, allocations: 0 / 421 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.1095, allocations: 0 / 421 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006277/0.1102, allocations: 171.5 kB / 421.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.393e-05/0.1102, allocations: 11.92 kB / 421.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.1102, allocations: 12 kB / 421.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.1103, allocations: 8 kB / 421.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.1103, allocations: 11.86 kB / 421.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.1104, allocations: 11.94 kB / 421.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1104, allocations: 0 / 421.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.1108, allocations: 239.7 kB / 421.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.1108, allocations: 7.984 kB / 421.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.1108, allocations: 7.938 kB / 421.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.1111, allocations: 167.6 kB / 421.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1111, allocations: 4 kB / 421.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1111, allocations: 0 / 421.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1111, allocations: 0 / 421.6 MB, free: 9.461 MB / 350.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.0004865/0.1116, allocations: 359.1 kB / 422 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1116, allocations: 19.89 kB / 422 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.1117, allocations: 4.938 kB / 422 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.1118, allocations: 172.3 kB / 422.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1118, allocations: 4.375 kB / 422.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1119, allocations: 384 / 422.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.777e-05/0.1119, allocations: 46 kB / 422.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.112, allocations: 0 / 422.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.112, allocations: 7.922 kB / 422.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.112, allocations: 0 / 422.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.922e-05/0.112, allocations: 15.98 kB / 422.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.1122, allocations: 149.7 kB / 422.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.288e-05/0.1123, allocations: 30.61 kB / 422.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.1123, allocations: 8.859 kB / 422.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1123, allocations: 4 kB / 422.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1123, allocations: 42.44 kB / 422.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1123, allocations: 0 / 422.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001489/0.1125, allocations: 49.78 kB / 422.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1125, allocations: 55.39 kB / 422.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.1126, allocations: 93.86 kB / 422.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1126, allocations: 33.7 kB / 422.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.1127, allocations: 84.14 kB / 422.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1127, allocations: 11.89 kB / 422.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1127, allocations: 17.72 kB / 422.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1129, allocations: 314.8 kB / 423.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.1129, allocations: 4 kB / 423.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.1129, allocations: 25.7 kB / 423.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.442e-05/0.113, allocations: 29.66 kB / 423.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.113, allocations: 0 / 423.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.999e-05/0.1131, allocations: 65.58 kB / 423.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1131, allocations: 7.938 kB / 423.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1131, allocations: 0 / 423.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1131, allocations: 0 / 423.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.1132, allocations: 8 kB / 423.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1132, allocations: 0 / 423.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.657e-05/0.1132, allocations: 7.984 kB / 423.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.1132, allocations: 0 / 423.2 MB, free: 7.59 MB / 350.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.039e-05/0.1133, allocations: 117.8 kB / 423.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.1133, allocations: 7.938 kB / 423.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.1133, allocations: 3.5 kB / 423.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1133, allocations: 0 / 423.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1133, allocations: 0 / 423.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1133, allocations: 432 / 423.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.1135, allocations: 161.7 kB / 423.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1135, allocations: 4 kB / 423.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.1135, allocations: 7.938 kB / 423.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1135, allocations: 3.938 kB / 423.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1135, allocations: 11.98 kB / 423.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1135, allocations: 0 / 423.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1135, allocations: 0 / 423.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.1137, allocations: 81.06 kB / 423.6 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.1137, allocations: 84.98 kB / 423.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.1137, allocations: 0 / 423.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.721e-05/0.1137, allocations: 4.031 kB / 423.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.1138, allocations: 3.984 kB / 423.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.1138, allocations: 4.062 kB / 423.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.959e-05/0.1138, allocations: 83.28 kB / 423.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1138, allocations: 0 / 423.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1141, allocations: 51.86 kB / 423.9 MB, free: 6.871 MB / 350.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.0002743/0.1143, allocations: 159 kB / 424 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.936e-05/0.1144, allocations: 15.92 kB / 424 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1144, allocations: 0 / 424 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.1145, allocations: 16.06 kB / 424 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.1146, allocations: 3.938 kB / 424 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.1149, allocations: 155.7 kB / 424.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1152, allocations: 0.6805 MB / 424.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.1152, allocations: 11.44 kB / 424.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1152, allocations: 0 / 424.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of Templates: time 0.002872/0.1181, allocations: 1.159 MB / 426 MB, free: 4.602 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.985475094988942]