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.001448/0.001448, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.00124, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.253, allocations: 50.54 MB / 408.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001586/0.2547, allocations: 0.5269 MB / 409.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.2566, allocations: 1.539 MB / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.2567, allocations: 0 / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.2567, allocations: 4 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006815/0.2574, allocations: 171.5 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.576e-05/0.2574, allocations: 3.938 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.2575, allocations: 15.98 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.2576, allocations: 7.984 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.2576, allocations: 11.88 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.2577, allocations: 0 / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.2577, allocations: 4 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.2581, allocations: 251.7 kB / 411.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.2581, allocations: 11.86 kB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.2581, allocations: 8 kB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.2584, allocations: 171.7 kB / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2584, allocations: 0 / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2584, allocations: 0 / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.2585, allocations: 0 / 411.5 MB, free: 14.84 MB / 334.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.0004321/0.2589, allocations: 365.2 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2589, allocations: 12.03 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.259, allocations: 34.75 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.259, allocations: 0.9375 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.2592, allocations: 172.3 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2592, allocations: 384 / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.2592, allocations: 384 / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.833e-05/0.2593, allocations: 41.77 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2593, allocations: 0 / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.2593, allocations: 7.938 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2593, allocations: 4 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.2594, allocations: 7.984 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.2596, allocations: 157.6 kB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.213e-05/0.2596, allocations: 30.67 kB / 412.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.2597, allocations: 16.84 kB / 412.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.2597, allocations: 0 / 412.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2597, allocations: 38.44 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.2597, allocations: 4 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001292/0.2598, allocations: 45.88 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.2599, allocations: 55.41 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.26, allocations: 105.8 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.26, allocations: 25.7 kB / 412.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.26, allocations: 84.14 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.26, allocations: 7.906 kB / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.2601, allocations: 17.72 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.2602, allocations: 318.8 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.2602, allocations: 4 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.763e-05/0.2602, allocations: 25.66 kB / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.2603, allocations: 29.7 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2603, allocations: 0 / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.111e-05/0.2604, allocations: 57.48 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2604, allocations: 12.03 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2604, allocations: 3.984 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2604, allocations: 0 / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.209e-05/0.2605, allocations: 8 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.2605, allocations: 0 / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.2605, allocations: 3.938 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2606, allocations: 8 kB / 413.1 MB, free: 12.93 MB / 334.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 5.936e-05/0.2606, allocations: 109.8 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.2606, allocations: 7.938 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.2607, allocations: 11.5 kB / 413.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2607, allocations: 0 / 413.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2607, allocations: 4.109 kB / 413.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2607, allocations: 4 kB / 413.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.535e-05/0.2608, allocations: 153.6 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2608, allocations: 7.938 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.2609, allocations: 11.88 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2609, allocations: 0 / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2609, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2609, allocations: 0 / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2609, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.261, allocations: 77.03 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.2611, allocations: 85.03 kB / 413.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.2611, allocations: 0 / 413.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.2611, allocations: 4 kB / 413.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.2611, allocations: 4.031 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.2611, allocations: 0 / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.796e-05/0.2612, allocations: 79.28 kB / 413.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2612, allocations: 4.062 kB / 413.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.2615, allocations: 55.98 kB / 413.7 MB, free: 12.21 MB / 334.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.0004949/0.262, allocations: 0.6752 MB / 414.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.162e-05/0.2621, allocations: 27.95 kB / 414.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2621, allocations: 0 / 414.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-05/0.2621, allocations: 12.12 kB / 414.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.2622, allocations: 4 kB / 414.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.2632, allocations: 1.175 MB / 415.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.2634, allocations: 0.6807 MB / 416.3 MB, free: 9.488 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.985e-05/0.2635, allocations: 4 kB / 416.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.2636, allocations: 15.42 kB / 416.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2636, allocations: 3.938 kB / 416.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.2825, allocations: 2.067 MB / 418.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.566, allocations: 21.41 kB / 418.4 MB, free: 7.469 MB / 334.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