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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001625/0.001625, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 56.88 kB / 307 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.1004, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001886/0.1023, allocations: 0.5262 MB / 358.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1044, allocations: 1.538 MB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.1044, allocations: 0 / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.1045, allocations: 0 / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00073/0.1052, allocations: 179.4 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.208e-05/0.1052, allocations: 7.922 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.1053, allocations: 12 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.1054, allocations: 4 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.1054, allocations: 11.81 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.177e-05/0.1055, allocations: 11.98 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1055, allocations: 4 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.1059, allocations: 251.7 kB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.1059, allocations: 7.875 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.1059, allocations: 4 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.1063, allocations: 171.7 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1063, allocations: 4 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1063, allocations: 0 / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1063, allocations: 0 / 360.3 MB, free: 11.29 MB / 302.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.0004514/0.1068, allocations: 359.7 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1068, allocations: 12.03 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.1069, allocations: 38.73 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.1069, allocations: 0.9375 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.107, allocations: 168.3 kB / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1071, allocations: 384 / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1071, allocations: 8.312 kB / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.1072, allocations: 37.81 kB / 360.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1072, allocations: 3.938 kB / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.1072, allocations: 0 / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1072, allocations: 4 kB / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.487e-05/0.1073, allocations: 15.98 kB / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.1075, allocations: 149.7 kB / 361.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.369e-05/0.1075, allocations: 34.61 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.1076, allocations: 8.859 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1076, allocations: 0 / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1076, allocations: 38.44 kB / 361.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1076, allocations: 4 kB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001466/0.1078, allocations: 45.97 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1078, allocations: 59.39 kB / 361.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.1079, allocations: 101.8 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1079, allocations: 25.7 kB / 361.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.108, allocations: 84.14 kB / 361.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.108, allocations: 19.73 kB / 361.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.1081, allocations: 17.72 kB / 361.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1082, allocations: 314.8 kB / 361.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.1082, allocations: 8 kB / 361.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/0.1083, allocations: 25.64 kB / 361.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.232e-05/0.1083, allocations: 25.72 kB / 361.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1083, allocations: 128 / 361.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.005e-05/0.1084, allocations: 65.56 kB / 361.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1084, allocations: 4 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1085, allocations: 11.97 kB / 361.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1085, allocations: 0 / 361.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/0.1085, allocations: 8 kB / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1086, allocations: 0 / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.1086, allocations: 3.984 kB / 362 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1086, allocations: 4 kB / 362 MB, free: 9.375 MB / 302.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.657e-05/0.1087, allocations: 110.9 kB / 362.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.1087, allocations: 7.844 kB / 362.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.1087, allocations: 15.5 kB / 362.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1087, allocations: 0 / 362.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1087, allocations: 3.938 kB / 362.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1088, allocations: 0 / 362.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1089, allocations: 153.7 kB / 362.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1089, allocations: 0 / 362.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.1089, allocations: 15.88 kB / 362.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.109, allocations: 0 / 362.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.109, allocations: 3.984 kB / 362.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.109, allocations: 0 / 362.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.109, allocations: 0 / 362.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.1091, allocations: 77.12 kB / 362.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.1092, allocations: 88.98 kB / 362.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1092, allocations: 0 / 362.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.847e-05/0.1092, allocations: 0 / 362.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.1093, allocations: 3.984 kB / 362.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1093, allocations: 4 kB / 362.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.192e-05/0.1093, allocations: 83.28 kB / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1093, allocations: 0 / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.1096, allocations: 56.05 kB / 362.6 MB, free: 8.66 MB / 302.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.0005536/0.1102, allocations: 0.6714 MB / 363.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.098e-05/0.1103, allocations: 19.97 kB / 363.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1103, allocations: 0 / 363.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.1103, allocations: 12.11 kB / 363.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1105, allocations: 8 kB / 363.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.1115, allocations: 1.171 MB / 364.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.1118, allocations: 0.6768 MB / 365.1 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.1119, allocations: 7.984 kB / 365.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.112, allocations: 15.44 kB / 365.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of SimCode: time 1.954e-06/0.112, allocations: 7.938 kB / 365.2 MB, free: 5.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.1356, allocations: 2.045 MB / 367.2 MB, free: 3.961 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.449/7.584, allocations: 8.047 kB / 367.2 MB, free: 3.953 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches