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.001251/0.001251, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001318/0.001318, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.418/1.418, 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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 51.92 kB / 373 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1114, allocations: 53.31 MB / 426.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001645/0.113, allocations: 0.5206 MB / 426.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1151, allocations: 1.564 MB / 428.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.1152, allocations: 0 / 428.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.1152, allocations: 3.938 kB / 428.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006253/0.1158, allocations: 175.4 kB / 428.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.47e-05/0.1158, allocations: 7.984 kB / 428.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.25e-05/0.1159, allocations: 11.94 kB / 428.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.1159, allocations: 0 / 428.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.116, allocations: 11.98 kB / 428.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.116, allocations: 11.92 kB / 428.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.116, allocations: 0 / 428.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.1164, allocations: 255.7 kB / 428.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.1164, allocations: 0 / 428.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.1164, allocations: 7.938 kB / 428.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.1167, allocations: 179.5 kB / 429 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1167, allocations: 0 / 429 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1167, allocations: 4 kB / 429 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1167, allocations: 0 / 429 MB, free: 2.141 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.0004713/0.1172, allocations: 363.1 kB / 429.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1172, allocations: 12.03 kB / 429.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1173, allocations: 34.75 kB / 429.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.1173, allocations: 4.938 kB / 429.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1174, allocations: 160.4 kB / 429.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1174, allocations: 4.375 kB / 429.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1175, allocations: 384 / 429.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.159e-05/0.1175, allocations: 41.81 kB / 429.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1176, allocations: 0 / 429.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1176, allocations: 0 / 429.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1176, allocations: 0 / 429.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.1176, allocations: 15.92 kB / 429.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.1178, allocations: 157.7 kB / 429.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.006e-05/0.1178, allocations: 30.58 kB / 429.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.1179, allocations: 8.859 kB / 429.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.1179, allocations: 8.078 kB / 429.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1179, allocations: 34.5 kB / 429.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.1179, allocations: 0 / 429.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001428/0.1181, allocations: 57.58 kB / 430 MB, free: 1.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1181, allocations: 51.41 kB / 430 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.1182, allocations: 102.2 kB / 430.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1182, allocations: 29.64 kB / 430.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.1183, allocations: 88.06 kB / 430.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1183, allocations: 15.89 kB / 430.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.1183, allocations: 13.72 kB / 430.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1185, allocations: 318.8 kB / 430.6 MB, free: 408 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.1185, allocations: 11.98 kB / 430.6 MB, free: 396 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/0.1185, allocations: 17.72 kB / 430.6 MB, free: 372 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.1186, allocations: 29.69 kB / 430.6 MB, free: 336 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1186, allocations: 4 kB / 430.6 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.754e-05/0.1187, allocations: 61.56 kB / 430.7 MB, free: 264 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1187, allocations: 4 kB / 430.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1187, allocations: 32 / 430.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1187, allocations: 8 kB / 430.7 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.1188, allocations: 7.984 kB / 430.7 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1188, allocations: 4 kB / 430.7 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.1188, allocations: 4.062 kB / 430.7 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1188, allocations: 4 kB / 430.7 MB, free: 232 kB / 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.845e-05/0.1189, allocations: 113.8 kB / 430.8 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.1189, allocations: 3.938 kB / 430.8 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.1189, allocations: 3.5 kB / 430.8 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.1189, allocations: 4 kB / 430.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1189, allocations: 4 kB / 430.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1189, allocations: 0 / 430.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2033/0.3223, allocations: 153.7 kB / 431 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3223, allocations: 0.5 kB / 431 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.386e-05/0.3224, allocations: 10.7 kB / 431 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.3224, allocations: 0.9688 kB / 431 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3224, allocations: 1.031 kB / 431 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3224, allocations: 2.938 kB / 431 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3224, allocations: 0 / 431 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.3225, allocations: 82.3 kB / 431.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.3225, allocations: 82.06 kB / 431.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3226, allocations: 1.344 kB / 431.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.889e-05/0.3226, allocations: 1.188 kB / 431.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.3226, allocations: 9.547 kB / 431.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.3226, allocations: 1.312 kB / 431.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.213e-05/0.3226, allocations: 82.42 kB / 431.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3226, allocations: 3.062 kB / 431.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.323, allocations: 57.61 kB / 431.3 MB, free: 10.74 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.0004346/0.3234, allocations: 0.6544 MB / 432 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.743e-05/0.3235, allocations: 23.06 kB / 432 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3235, allocations: 1.844 kB / 432 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.3235, allocations: 13.09 kB / 432 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.3237, allocations: 9.094 kB / 432 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.3244, allocations: 1.184 MB / 433.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.299e-05/0.3245, allocations: 0.6786 MB / 433.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.66e-05/0.3246, allocations: 3.922 kB / 433.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.3246, allocations: 14.08 kB / 433.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3246, allocations: 0 / 433.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.3495, allocations: 2.07 MB / 436 MB, free: 7.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/7.938, allocations: 9.375 kB / 436 MB, free: 7.996 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] 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: 10.222454429836944]