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.001284/0.001284, allocations: 122.5 kB / 17.78 MB, free: 5.121 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.001298/0.001298, allocations: 189.2 kB / 20.73 MB, free: 2.184 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.38/1.38, allocations: 225.6 MB / 249.1 MB, free: 3.617 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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 47.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001628/0.1046, allocations: 0.5258 MB / 418.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1065, allocations: 1.491 MB / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.1066, allocations: 0 / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.1066, allocations: 4 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005688/0.1071, allocations: 171.4 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.614e-05/0.1072, allocations: 11.92 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.1072, allocations: 8 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.1073, allocations: 8 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.1073, allocations: 15.86 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.1073, allocations: 7.938 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1074, allocations: 4 kB / 420 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.1077, allocations: 239.7 kB / 420.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.1077, allocations: 11.86 kB / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.1077, allocations: 7.938 kB / 420.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.108, allocations: 167.6 kB / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.108, allocations: 0 / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.108, allocations: 0 / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.108, allocations: 0 / 420.4 MB, free: 9.934 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.00044/0.1085, allocations: 371 kB / 420.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1085, allocations: 12.03 kB / 420.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.1085, allocations: 30.75 kB / 420.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.1086, allocations: 4.922 kB / 420.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1087, allocations: 176.3 kB / 421 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.1087, allocations: 384 / 421 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.1088, allocations: 384 / 421 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.628e-05/0.1088, allocations: 41.75 kB / 421.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1089, allocations: 0 / 421.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1089, allocations: 8 kB / 421.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1089, allocations: 4 kB / 421.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.207e-05/0.1089, allocations: 4 kB / 421.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.1091, allocations: 153.7 kB / 421.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/0.1091, allocations: 38.59 kB / 421.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.1092, allocations: 8.859 kB / 421.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.1092, allocations: 0 / 421.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.1092, allocations: 46.44 kB / 421.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1092, allocations: 0 / 421.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001476/0.1094, allocations: 45.78 kB / 421.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1094, allocations: 55.39 kB / 421.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.1095, allocations: 97.86 kB / 421.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1095, allocations: 29.7 kB / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.1095, allocations: 80.14 kB / 421.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.1096, allocations: 15.89 kB / 421.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.1096, allocations: 17.72 kB / 421.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1097, allocations: 318.8 kB / 422 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.1097, allocations: 4 kB / 422 MB, free: 8.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.97e-05/0.1098, allocations: 25.64 kB / 422 MB, free: 8.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.342e-05/0.1098, allocations: 25.72 kB / 422 MB, free: 8.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1098, allocations: 0 / 422 MB, free: 8.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.871e-05/0.1099, allocations: 65.52 kB / 422.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1099, allocations: 8.031 kB / 422.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1099, allocations: 4 kB / 422.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1099, allocations: 0 / 422.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.316e-05/0.11, allocations: 8 kB / 422.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.11, allocations: 0 / 422.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.11, allocations: 7.875 kB / 422.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.11, allocations: 7.984 kB / 422.1 MB, free: 8.012 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.697e-05/0.1101, allocations: 110.5 kB / 422.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.1101, allocations: 3.938 kB / 422.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.1102, allocations: 11.5 kB / 422.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1102, allocations: 0 / 422.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1102, allocations: 0 / 422.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.1102, allocations: 0 / 422.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1103, allocations: 153.7 kB / 422.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1103, allocations: 0 / 422.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.1104, allocations: 20 kB / 422.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1104, allocations: 0 / 422.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1104, allocations: 3.984 kB / 422.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1104, allocations: 0 / 422.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1104, allocations: 0 / 422.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.1105, allocations: 81.5 kB / 422.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.1105, allocations: 89.02 kB / 422.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.1106, allocations: 0 / 422.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.642e-05/0.1106, allocations: 0 / 422.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.1106, allocations: 8.016 kB / 422.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1106, allocations: 4 kB / 422.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.059e-05/0.1106, allocations: 83.28 kB / 422.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1106, allocations: 64 / 422.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1109, allocations: 55.86 kB / 422.7 MB, free: 7.301 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.0005251/0.1114, allocations: 0.6669 MB / 423.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.789e-05/0.1115, allocations: 19.92 kB / 423.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1115, allocations: 0 / 423.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.714e-05/0.1115, allocations: 16.12 kB / 423.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1116, allocations: 0 / 423.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1128, allocations: 1.186 MB / 424.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1131, allocations: 0.6844 MB / 425.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.883e-05/0.1132, allocations: 3.984 kB / 425.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1132, allocations: 11.44 kB / 425.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1132, allocations: 0 / 425.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.137, allocations: 2.017 MB / 427.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.661, allocations: 12.47 kB / 427.3 MB, free: 2.629 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] 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: 9.952964715193957]