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.001907/0.001907, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.00209/0.00209, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.539/1.539, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.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.001545/0.001545, allocations: 51.92 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09726, allocations: 53.33 MB / 426.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001596/0.09886, allocations: 0.5284 MB / 427.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1009, allocations: 1.564 MB / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.101, allocations: 0 / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.101, allocations: 0 / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006251/0.1016, allocations: 175.4 kB / 429.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.75e-05/0.1016, allocations: 7.984 kB / 429.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.1017, allocations: 8 kB / 429.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.1017, allocations: 7.969 kB / 429.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.1018, allocations: 11.94 kB / 429.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.1018, allocations: 7.938 kB / 429.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1019, allocations: 0 / 429.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.1023, allocations: 251.7 kB / 429.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.1023, allocations: 0 / 429.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.1023, allocations: 11.94 kB / 429.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.1026, allocations: 179.5 kB / 429.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1026, allocations: 0 / 429.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1026, allocations: 0 / 429.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1026, allocations: 0 / 429.5 MB, free: 1.543 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.0004915/0.1031, allocations: 367.1 kB / 429.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1032, allocations: 8.031 kB / 429.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.1032, allocations: 4.938 kB / 429.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1034, allocations: 164.4 kB / 430.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1034, allocations: 384 / 430.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1034, allocations: 8.375 kB / 430.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.173e-05/0.1035, allocations: 41.94 kB / 430.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1035, allocations: 0 / 430.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1035, allocations: 0 / 430.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1035, allocations: 3.984 kB / 430.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.1035, allocations: 11.98 kB / 430.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.1037, allocations: 157.7 kB / 430.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.147e-05/0.1038, allocations: 30.58 kB / 430.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.1038, allocations: 16.88 kB / 430.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.1039, allocations: 3.938 kB / 430.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1039, allocations: 34.5 kB / 430.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1039, allocations: 0 / 430.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001491/0.104, allocations: 57.64 kB / 430.4 MB, free: 496 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1041, allocations: 51.41 kB / 430.5 MB, free: 432 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.1042, allocations: 93.86 kB / 430.6 MB, free: 328 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1042, allocations: 37.64 kB / 430.6 MB, free: 284 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.1042, allocations: 88.12 kB / 430.7 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1043, allocations: 7.906 kB / 430.7 MB, free: 184 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.1043, allocations: 17.72 kB / 430.7 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1044, allocations: 314.8 kB / 431 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.1045, allocations: 11.92 kB / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.1045, allocations: 21.72 kB / 431.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/0.1045, allocations: 25.72 kB / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1045, allocations: 0 / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.296e-05/0.1046, allocations: 57.62 kB / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1047, allocations: 11.94 kB / 431.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1047, allocations: 0 / 431.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1047, allocations: 0 / 431.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.1048, allocations: 11.98 kB / 431.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1048, allocations: 0 / 431.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.1048, allocations: 3.938 kB / 431.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.1048, allocations: 8.031 kB / 431.2 MB, free: 15.67 MB / 366.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.624e-05/0.1049, allocations: 105.8 kB / 431.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.1049, allocations: 12.06 kB / 431.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.1049, allocations: 3.5 kB / 431.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1049, allocations: 7.938 kB / 431.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1049, allocations: 0 / 431.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1049, allocations: 0 / 431.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.105, allocations: 161.6 kB / 431.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.105, allocations: 0 / 431.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.476e-05/0.1051, allocations: 12.41 kB / 431.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.1051, allocations: 3.938 kB / 431.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1051, allocations: 0 / 431.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1051, allocations: 4 kB / 431.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1051, allocations: 0 / 431.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.1053, allocations: 77.11 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.1053, allocations: 81.05 kB / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1053, allocations: 3.984 kB / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.1053, allocations: 4.062 kB / 431.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.1054, allocations: 4.031 kB / 431.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.1054, allocations: 0 / 431.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.975e-05/0.1054, allocations: 95.09 kB / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1054, allocations: 0 / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1057, allocations: 51.86 kB / 431.8 MB, free: 14.95 MB / 366.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.0002785/0.106, allocations: 155.1 kB / 431.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.1061, allocations: 16 kB / 431.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1061, allocations: 4.062 kB / 432 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.889e-05/0.1061, allocations: 11.92 kB / 432 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.1062, allocations: 4 kB / 432 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.1065, allocations: 134 kB / 432.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1068, allocations: 0.6768 MB / 432.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.945e-05/0.1069, allocations: 4 kB / 432.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.1069, allocations: 7.438 kB / 432.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1069, allocations: 4 kB / 432.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Templates: time 0.003885/0.1108, allocations: 1.121 MB / 433.9 MB, free: 12.76 MB / 366.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.497105546295643]