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.001607/0.001607, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001928/0.001928, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.44/1.44, allocations: 177.2 MB / 204.9 MB, free: 9.07 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 0.001566/0.001566, allocations: 51.86 kB / 325.6 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.1002, allocations: 53.34 MB / 378.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001666/0.1019, allocations: 0.5189 MB / 379.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.104, allocations: 1.473 MB / 380.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.104, allocations: 4 kB / 380.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.104, allocations: 0 / 380.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006541/0.1047, allocations: 179.4 kB / 381.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.019e-05/0.1047, allocations: 0 / 381.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.1047, allocations: 15.92 kB / 381.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.1048, allocations: 0 / 381.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.1048, allocations: 11.94 kB / 381.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.1049, allocations: 7.984 kB / 381.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1049, allocations: 0 / 381.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.1053, allocations: 239.7 kB / 381.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.1053, allocations: 7.938 kB / 381.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.1053, allocations: 0 / 381.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.1056, allocations: 179.5 kB / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1056, allocations: 4 kB / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1056, allocations: 3.938 kB / 381.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1056, allocations: 0 / 381.5 MB, free: 13.08 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.0004146/0.1061, allocations: 286 kB / 381.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1061, allocations: 12.03 kB / 381.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.1061, allocations: 0.9375 kB / 381.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1063, allocations: 114.5 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1063, allocations: 4.375 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1063, allocations: 384 / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.052e-05/0.1064, allocations: 38 kB / 382 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1064, allocations: 4 kB / 382 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.1064, allocations: 0 / 382 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1064, allocations: 0 / 382 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.739e-05/0.1064, allocations: 11.98 kB / 382 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.1066, allocations: 109.2 kB / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.035e-05/0.1066, allocations: 38.59 kB / 382.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.1067, allocations: 12.86 kB / 382.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.1067, allocations: 4 kB / 382.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1067, allocations: 30.56 kB / 382.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1067, allocations: 3.938 kB / 382.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001378/0.1069, allocations: 57.66 kB / 382.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.1069, allocations: 51.41 kB / 382.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.107, allocations: 101.8 kB / 382.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.107, allocations: 25.7 kB / 382.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.107, allocations: 88.14 kB / 382.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.1071, allocations: 11.84 kB / 382.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.1071, allocations: 21.7 kB / 382.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1072, allocations: 318.8 kB / 382.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.1073, allocations: 8 kB / 382.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.1073, allocations: 21.7 kB / 382.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.1073, allocations: 33.66 kB / 382.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1073, allocations: 0 / 382.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001002/0.1074, allocations: 50.06 kB / 383 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1075, allocations: 4 kB / 383 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1075, allocations: 3.938 kB / 383 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1075, allocations: 8.031 kB / 383 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.688e-05/0.1076, allocations: 11.94 kB / 383 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1076, allocations: 8.031 kB / 383 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.1076, allocations: 0 / 383 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1076, allocations: 0 / 383 MB, free: 11.44 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 7.456e-05/0.1077, allocations: 109.8 kB / 383.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.1077, allocations: 7.938 kB / 383.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.1077, allocations: 11.62 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1077, allocations: 4 kB / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1077, allocations: 0 / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1077, allocations: 0 / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.156e-05/0.1078, allocations: 101.3 kB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1078, allocations: 4 kB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.1079, allocations: 11.98 kB / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1079, allocations: 0 / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1079, allocations: 0 / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.1079, allocations: 3.938 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1079, allocations: 0 / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.108, allocations: 77.06 kB / 383.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.108, allocations: 4 kB / 383.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.108, allocations: 7.922 kB / 383.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.108, allocations: 8.062 kB / 383.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.1081, allocations: 4.031 kB / 383.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.1081, allocations: 4.062 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.1081, allocations: 79.28 kB / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1081, allocations: 0 / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1084, allocations: 55.86 kB / 383.5 MB, free: 10.89 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.0002566/0.1086, allocations: 155 kB / 383.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.623e-05/0.1087, allocations: 19.94 kB / 383.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1087, allocations: 0 / 383.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-05/0.1087, allocations: 11.98 kB / 383.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1089, allocations: 64 / 383.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.1091, allocations: 142 kB / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.07e-05/0.1092, allocations: 63.34 kB / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.428e-05/0.1093, allocations: 0 / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.1093, allocations: 12.5 kB / 383.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1093, allocations: 0 / 383.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Templates: time 0.003801/0.1131, allocations: 1.127 MB / 385 MB, free: 9.312 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/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.166980167035945]