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.0008406/0.0008407, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009987/0.0009987, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 227.8 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002016/0.0002016, allocations: 4 kB / 307.8 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1028, allocations: 51.52 MB / 359.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0006012/0.1034, allocations: 254.1 kB / 359.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1053, allocations: 1.577 MB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.1054, allocations: 4 kB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.1054, allocations: 0 / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.1059, allocations: 127.7 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.166e-05/0.1059, allocations: 3.984 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.337e-05/0.106, allocations: 15.94 kB / 361.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.106, allocations: 3.984 kB / 361.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.741e-05/0.106, allocations: 7.938 kB / 361.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.1061, allocations: 15.97 kB / 361.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1061, allocations: 0 / 361.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.1065, allocations: 247.7 kB / 361.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.1065, allocations: 3.938 kB / 361.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.1066, allocations: 33.7 kB / 361.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.1068, allocations: 171.7 kB / 361.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1068, allocations: 0 / 361.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1068, allocations: 0 / 361.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1068, allocations: 0 / 361.8 MB, free: 10.73 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.0003857/0.1072, allocations: 366.1 kB / 362.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1073, allocations: 8.031 kB / 362.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.075e-05/0.1073, allocations: 30.75 kB / 362.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.1073, allocations: 4.938 kB / 362.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.1075, allocations: 176.2 kB / 362.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1075, allocations: 384 / 362.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.1075, allocations: 8.375 kB / 362.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.341e-05/0.1076, allocations: 37.81 kB / 362.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1076, allocations: 0 / 362.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1076, allocations: 7.938 kB / 362.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1076, allocations: 4 kB / 362.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.1077, allocations: 4 kB / 362.4 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.1078, allocations: 157.7 kB / 362.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.174e-05/0.1079, allocations: 34.55 kB / 362.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.1079, allocations: 8.859 kB / 362.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.108, allocations: 0 / 362.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.108, allocations: 46.5 kB / 362.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.108, allocations: 3.938 kB / 362.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001277/0.1081, allocations: 45.78 kB / 362.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1082, allocations: 55.34 kB / 362.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.1083, allocations: 105.8 kB / 362.9 MB, free: 9.457 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1083, allocations: 25.7 kB / 362.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.1083, allocations: 80.14 kB / 363 MB, free: 9.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1084, allocations: 11.8 kB / 363 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.1084, allocations: 21.7 kB / 363 MB, free: 9.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1085, allocations: 314.8 kB / 363.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.1085, allocations: 8 kB / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.356e-05/0.1085, allocations: 17.7 kB / 363.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.431e-05/0.1086, allocations: 30.09 kB / 363.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1086, allocations: 0 / 363.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.095e-05/0.1087, allocations: 57.61 kB / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1087, allocations: 8.031 kB / 363.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1087, allocations: 7.984 kB / 363.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1087, allocations: 0 / 363.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.1088, allocations: 12 kB / 363.5 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1088, allocations: 0 / 363.5 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.1089, allocations: 3.938 kB / 363.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1089, allocations: 4 kB / 363.5 MB, free: 8.824 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.275e-05/0.1089, allocations: 114.8 kB / 363.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.109, allocations: 11.83 kB / 363.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.109, allocations: 15.5 kB / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.109, allocations: 0 / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.109, allocations: 0 / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.109, allocations: 0 / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1091, allocations: 153.7 kB / 363.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1091, allocations: 3.938 kB / 363.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/0.1092, allocations: 11.94 kB / 363.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1092, allocations: 0 / 363.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1092, allocations: 0 / 363.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1092, allocations: 0 / 363.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1092, allocations: 0 / 363.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.1093, allocations: 85.05 kB / 363.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.1094, allocations: 85.08 kB / 363.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.1094, allocations: 0 / 363.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.865e-05/0.1094, allocations: 4.125 kB / 363.9 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.1094, allocations: 0 / 363.9 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1094, allocations: 4 kB / 363.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.693e-05/0.1095, allocations: 87.27 kB / 364 MB, free: 8.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1095, allocations: 4.062 kB / 364 MB, free: 8.152 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1097, allocations: 55.92 kB / 364.1 MB, free: 8.098 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.0004553/0.1102, allocations: 0.6592 MB / 364.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.938e-05/0.1103, allocations: 19.94 kB / 364.8 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1103, allocations: 0 / 364.8 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.132e-05/0.1103, allocations: 12.12 kB / 364.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1105, allocations: 15.67 kB / 364.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.1114, allocations: 1.18 MB / 366 MB, free: 6.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.1116, allocations: 0.6809 MB / 366.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.1117, allocations: 7.984 kB / 366.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.1117, allocations: 19.44 kB / 366.7 MB, free: 5.359 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1117, allocations: 0 / 366.7 MB, free: 5.359 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01045/0.1222, allocations: 1.855 MB / 368.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.1224, allocations: 202 kB / 368.7 MB, free: 3.367 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.776, allocations: 7.75 kB / 368.7 MB, free: 3.363 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