Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 111.8 kB / 19.17 MB, free: 3.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 204.9 kB / 22.13 MB, free: 0.9336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 67.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1103, allocations: 53.31 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001743/0.1121, allocations: 0.5166 MB / 428.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.1142, allocations: 1.564 MB / 429.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.1142, allocations: 0 / 429.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.1143, allocations: 3.938 kB / 429.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006363/0.1149, allocations: 175.5 kB / 430.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.291e-05/0.1149, allocations: 4 kB / 430.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.954e-05/0.115, allocations: 15.91 kB / 430.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.115, allocations: 8 kB / 430.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.162e-05/0.1151, allocations: 4 kB / 430.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.1151, allocations: 11.92 kB / 430.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1151, allocations: 0 / 430.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.1156, allocations: 247.7 kB / 430.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.1156, allocations: 3.984 kB / 430.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.1156, allocations: 11.94 kB / 430.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.1159, allocations: 179.5 kB / 430.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1159, allocations: 0 / 430.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1159, allocations: 0 / 430.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1159, allocations: 0 / 430.6 MB, free: 1.758 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.0004697/0.1164, allocations: 363.1 kB / 430.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1164, allocations: 8.031 kB / 430.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.1164, allocations: 8.922 kB / 430.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.1166, allocations: 168.3 kB / 431.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1166, allocations: 384 / 431.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.1166, allocations: 4.375 kB / 431.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.778e-05/0.1167, allocations: 42 kB / 431.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1167, allocations: 4 kB / 431.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.1167, allocations: 0 / 431.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1167, allocations: 0 / 431.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.939e-05/0.1168, allocations: 4 kB / 431.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.1169, allocations: 153.7 kB / 431.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.371e-05/0.117, allocations: 38.55 kB / 431.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.117, allocations: 12.86 kB / 431.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.1171, allocations: 0 / 431.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1171, allocations: 38.5 kB / 431.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1171, allocations: 3.938 kB / 431.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001469/0.1172, allocations: 53.86 kB / 431.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1173, allocations: 59.39 kB / 431.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.1174, allocations: 105.8 kB / 431.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1174, allocations: 25.7 kB / 431.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.1174, allocations: 84.14 kB / 431.7 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.1175, allocations: 19.89 kB / 431.7 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.1175, allocations: 13.72 kB / 431.7 MB, free: 376 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1177, allocations: 314.8 kB / 432.1 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.1177, allocations: 4 kB / 432.1 MB, free: 48 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.1177, allocations: 25.7 kB / 432.1 MB, free: 16 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.19e-05/0.1178, allocations: 29.8 kB / 432.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1178, allocations: 0 / 432.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.166e-05/0.1179, allocations: 57.62 kB / 432.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.1179, allocations: 11.94 kB / 432.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1179, allocations: 0 / 432.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1179, allocations: 0 / 432.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.118, allocations: 8 kB / 432.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.118, allocations: 3.938 kB / 432.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.118, allocations: 3.938 kB / 432.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.118, allocations: 12.02 kB / 432.2 MB, free: 15.88 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 8.249e-05/0.1181, allocations: 109.8 kB / 432.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.1181, allocations: 3.938 kB / 432.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.1182, allocations: 7.5 kB / 432.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1182, allocations: 0 / 432.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1182, allocations: 0 / 432.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1182, allocations: 0 / 432.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.1183, allocations: 157.6 kB / 432.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1183, allocations: 0 / 432.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.1184, allocations: 8 kB / 432.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.1184, allocations: 7.938 kB / 432.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1184, allocations: 3.984 kB / 432.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1184, allocations: 0 / 432.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1184, allocations: 0 / 432.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.1185, allocations: 81.09 kB / 432.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.1186, allocations: 81.05 kB / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1186, allocations: 0 / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.1186, allocations: 0 / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.1186, allocations: 8.047 kB / 432.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1186, allocations: 7.938 kB / 432.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.582e-05/0.1187, allocations: 83.28 kB / 432.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1187, allocations: 0 / 432.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.119, allocations: 55.8 kB / 432.8 MB, free: 15.17 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.0003062/0.1193, allocations: 155 kB / 433 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.734e-05/0.1194, allocations: 24.34 kB / 433 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1194, allocations: 4.062 kB / 433 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.425e-05/0.1194, allocations: 4 kB / 433 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.1195, allocations: 2.75 kB / 433 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.1198, allocations: 163.8 kB / 433.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1202, allocations: 0.6807 MB / 433.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.1202, allocations: 7.438 kB / 433.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1202, allocations: 0 / 433.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Templates: time 0.003105/0.1233, allocations: 1.208 MB / 435.1 MB, free: 12.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.780577702913433]