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.001936/0.001936, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001719/0.001719, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.412/1.412, allocations: 230.2 MB / 254.5 MB, free: 15.27 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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 67.89 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09825, allocations: 53.32 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001561/0.09981, allocations: 0.5234 MB / 427.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1017, allocations: 1.56 MB / 428.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.1018, allocations: 3.938 kB / 428.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.1018, allocations: 0 / 428.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005734/0.1023, allocations: 179.4 kB / 428.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.192e-05/0.1024, allocations: 4 kB / 428.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.072e-05/0.1024, allocations: 11.98 kB / 428.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.317e-05/0.1025, allocations: 0 / 428.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.1025, allocations: 11.94 kB / 428.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.1025, allocations: 11.88 kB / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1026, allocations: 0 / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.1029, allocations: 251.7 kB / 429.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.1029, allocations: 8 kB / 429.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.103, allocations: 7.922 kB / 429.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.1032, allocations: 175.5 kB / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1032, allocations: 0 / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1032, allocations: 0 / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.1032, allocations: 0 / 429.4 MB, free: 2.262 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.0004296/0.1037, allocations: 367.1 kB / 429.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1037, allocations: 8.031 kB / 429.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.1037, allocations: 34.75 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.1038, allocations: 8.938 kB / 429.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1039, allocations: 168.4 kB / 430 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1039, allocations: 384 / 430 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.1039, allocations: 8.312 kB / 430 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.739e-05/0.104, allocations: 37.81 kB / 430 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.104, allocations: 0 / 430 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.104, allocations: 4 kB / 430 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.104, allocations: 0 / 430 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.759e-05/0.1041, allocations: 4 kB / 430 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.1042, allocations: 161.7 kB / 430.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.239e-05/0.1043, allocations: 34.55 kB / 430.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.1043, allocations: 8.859 kB / 430.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.1043, allocations: 0 / 430.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1044, allocations: 42.5 kB / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1044, allocations: 0 / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000134/0.1045, allocations: 53.72 kB / 430.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1046, allocations: 55.41 kB / 430.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.1046, allocations: 97.84 kB / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1047, allocations: 33.64 kB / 430.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.1047, allocations: 88.08 kB / 430.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.1047, allocations: 7.906 kB / 430.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1048, allocations: 21.7 kB / 430.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1049, allocations: 314.8 kB / 430.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.1049, allocations: 4 kB / 430.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.1049, allocations: 25.72 kB / 430.9 MB, free: 488 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.105, allocations: 25.7 kB / 431 MB, free: 456 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.105, allocations: 0 / 431 MB, free: 456 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.009e-05/0.1051, allocations: 65.56 kB / 431 MB, free: 384 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1051, allocations: 4 kB / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1051, allocations: 0 / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1051, allocations: 3.938 kB / 431 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.1052, allocations: 12.03 kB / 431.1 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1052, allocations: 0 / 431.1 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.1052, allocations: 7.938 kB / 431.1 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.1052, allocations: 0 / 431.1 MB, free: 356 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.76e-05/0.1053, allocations: 113.8 kB / 431.2 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.1053, allocations: 11.92 kB / 431.2 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.1053, allocations: 3.5 kB / 431.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1053, allocations: 0 / 431.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1053, allocations: 0 / 431.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1053, allocations: 4 kB / 431.2 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.1055, allocations: 165.6 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1055, allocations: 0 / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.1055, allocations: 8.062 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1055, allocations: 0 / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1055, allocations: 8 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1055, allocations: 0 / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1055, allocations: 0 / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1056, allocations: 77.11 kB / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1057, allocations: 85.11 kB / 431.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1057, allocations: 0 / 431.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.1057, allocations: 32 / 431.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.1057, allocations: 7.938 kB / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.1057, allocations: 0 / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.66e-05/0.1058, allocations: 91.67 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1058, allocations: 0 / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.106, allocations: 51.88 kB / 431.7 MB, free: 15.63 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.0005311/0.1066, allocations: 0.6671 MB / 432.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.602e-05/0.1066, allocations: 27.95 kB / 432.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1067, allocations: 0 / 432.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.1067, allocations: 8 kB / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.1068, allocations: 2.75 kB / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1078, allocations: 1.194 MB / 433.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1081, allocations: 0.6807 MB / 434.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.832e-05/0.1082, allocations: 3.984 kB / 434.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.1082, allocations: 11.44 kB / 434.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1082, allocations: 0 / 434.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.133, allocations: 2.072 MB / 436.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.691, allocations: 8.047 kB / 436.4 MB, free: 10.9 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] 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: 10.096850153058767]