Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.452/1.452, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 69.08 kB / 307.9 MB, free: 488 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 50.54 MB / 358.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001745/0.1114, allocations: 0.515 MB / 358.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1135, allocations: 1.542 MB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.1135, allocations: 0 / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.035e-05/0.1136, allocations: 0 / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.1142, allocations: 179.5 kB / 360.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.053e-05/0.1142, allocations: 3.984 kB / 360.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.766e-05/0.1142, allocations: 15.94 kB / 360.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.1143, allocations: 11.98 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.1143, allocations: 3.938 kB / 360.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.1144, allocations: 11.98 kB / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1144, allocations: 0 / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.1148, allocations: 251.7 kB / 361 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.1149, allocations: 3.938 kB / 361 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.1149, allocations: 11.98 kB / 361 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.1152, allocations: 171.7 kB / 361.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1152, allocations: 7.984 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1152, allocations: 0 / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1152, allocations: 0 / 361.1 MB, free: 11.18 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.0004651/0.1157, allocations: 355.7 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1157, allocations: 8.031 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.1158, allocations: 8.938 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.1159, allocations: 168.3 kB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.116, allocations: 4.375 kB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.116, allocations: 4.375 kB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/0.1161, allocations: 42 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1161, allocations: 0 / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1161, allocations: 3.938 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1161, allocations: 0 / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.1162, allocations: 11.94 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1164, allocations: 161.7 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.1164, allocations: 34.61 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.1165, allocations: 8.859 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.1165, allocations: 0 / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1165, allocations: 38.48 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1165, allocations: 0 / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001595/0.1167, allocations: 49.72 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1167, allocations: 55.41 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.561e-05/0.1168, allocations: 105.8 kB / 362.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1169, allocations: 29.64 kB / 362.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.1169, allocations: 84.14 kB / 362.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.117, allocations: 15.75 kB / 362.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.117, allocations: 17.7 kB / 362.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1172, allocations: 314.8 kB / 362.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.1172, allocations: 8 kB / 362.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.758e-05/0.1172, allocations: 21.7 kB / 362.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.862e-05/0.1173, allocations: 33.66 kB / 362.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1173, allocations: 0 / 362.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.645e-05/0.1174, allocations: 49.69 kB / 362.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1174, allocations: 10.44 kB / 362.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1174, allocations: 0 / 362.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1174, allocations: 4 kB / 362.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.1175, allocations: 7.969 kB / 362.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1175, allocations: 8 kB / 362.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.1175, allocations: 4 kB / 362.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.1175, allocations: 0 / 362.8 MB, free: 9.32 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 8.542e-05/0.1176, allocations: 109.8 kB / 362.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.1177, allocations: 11.83 kB / 362.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.1177, allocations: 7.5 kB / 362.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1177, allocations: 4 kB / 362.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1177, allocations: 0 / 362.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1177, allocations: 4 kB / 362.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1178, allocations: 153.7 kB / 363.1 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1179, allocations: 3.938 kB / 363.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.1179, allocations: 8 kB / 363.1 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1179, allocations: 3.938 kB / 363.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.1179, allocations: 0 / 363.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1179, allocations: 0 / 363.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.118, allocations: 128 / 363.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1181, allocations: 85.05 kB / 363.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.1181, allocations: 89.14 kB / 363.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1182, allocations: 0 / 363.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.749e-05/0.1182, allocations: 0 / 363.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.1182, allocations: 480 / 363.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1182, allocations: 0 / 363.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.025e-05/0.1183, allocations: 87.25 kB / 363.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1183, allocations: 0 / 363.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1185, allocations: 56 kB / 363.4 MB, free: 8.605 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.0002804/0.1188, allocations: 155.2 kB / 363.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.304e-05/0.1189, allocations: 23.92 kB / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1189, allocations: 0 / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.506e-05/0.119, allocations: 11.94 kB / 363.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.1191, allocations: 4 kB / 363.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.1194, allocations: 155.6 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1197, allocations: 0.6846 MB / 364.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.1198, allocations: 7.438 kB / 364.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1198, allocations: 0 / 364.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of Templates: time 0.003099/0.1229, allocations: 1.191 MB / 365.6 MB, free: 6.309 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches