Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 106.6 kB / 17.73 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 191 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09888, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002135/0.1011, allocations: 0.5305 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1033, allocations: 1.52 MB / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.1034, allocations: 0 / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.1034, allocations: 0 / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007194/0.1042, allocations: 163.5 kB / 376.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.886e-05/0.1042, allocations: 11.98 kB / 376.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.1043, allocations: 11.88 kB / 376.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.1043, allocations: 7.984 kB / 376.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.1044, allocations: 11.98 kB / 376.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.1044, allocations: 3.938 kB / 376.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1045, allocations: 4 kB / 376.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.1049, allocations: 247.7 kB / 377.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.1049, allocations: 4 kB / 377.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.1049, allocations: 3.938 kB / 377.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1053, allocations: 171.8 kB / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1053, allocations: 4 kB / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1053, allocations: 0 / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1053, allocations: 0 / 377.3 MB, free: 2.379 MB / 318.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.0005308/0.1058, allocations: 363.6 kB / 377.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1059, allocations: 15.97 kB / 377.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.1059, allocations: 42.73 kB / 377.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.106, allocations: 0.9375 kB / 377.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.1061, allocations: 168.4 kB / 377.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1062, allocations: 384 / 377.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1062, allocations: 384 / 377.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.1063, allocations: 41.81 kB / 378 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1063, allocations: 4 kB / 378 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1063, allocations: 0 / 378 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1063, allocations: 0 / 378 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.975e-05/0.1064, allocations: 11.92 kB / 378 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.1066, allocations: 153.7 kB / 378.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.989e-05/0.1067, allocations: 34.61 kB / 378.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.1067, allocations: 12.86 kB / 378.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.1067, allocations: 0 / 378.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/0.1068, allocations: 34.5 kB / 378.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1068, allocations: 0 / 378.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002075/0.107, allocations: 61.62 kB / 378.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1071, allocations: 55.39 kB / 378.3 MB, free: 1.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1072, allocations: 98.05 kB / 378.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1072, allocations: 25.7 kB / 378.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.1073, allocations: 84.14 kB / 378.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.1073, allocations: 15.83 kB / 378.5 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.1074, allocations: 17.72 kB / 378.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1075, allocations: 314.8 kB / 378.9 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.1075, allocations: 8 kB / 378.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.1076, allocations: 26.55 kB / 378.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.806e-05/0.1076, allocations: 33.83 kB / 378.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1076, allocations: 0 / 378.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.894e-05/0.1077, allocations: 57.53 kB / 379 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1078, allocations: 8 kB / 379 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1078, allocations: 0 / 379 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1078, allocations: 4.031 kB / 379 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/0.1079, allocations: 15.88 kB / 379 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1079, allocations: 0 / 379 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.1079, allocations: 4.109 kB / 379 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1079, allocations: 12 kB / 379 MB, free: 460 kB / 318.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.758e-05/0.108, allocations: 109.8 kB / 379.1 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.108, allocations: 7.938 kB / 379.1 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.1081, allocations: 3.5 kB / 379.1 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1081, allocations: 0 / 379.1 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1081, allocations: 4 kB / 379.1 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1081, allocations: 3.938 kB / 379.1 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.1082, allocations: 153.7 kB / 379.3 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1082, allocations: 4 kB / 379.3 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-05/0.1083, allocations: 7.938 kB / 379.3 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1083, allocations: 0 / 379.3 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1083, allocations: 7.984 kB / 379.3 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1083, allocations: 0 / 379.3 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1084, allocations: 4 kB / 379.3 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2124/0.3208, allocations: 78.61 kB / 379.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.3209, allocations: 81.17 kB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3209, allocations: 1.031 kB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.321, allocations: 0.5 kB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.321, allocations: 2.422 kB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.321, allocations: 1.406 kB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.321, allocations: 82.94 kB / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.321, allocations: 0 / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.3214, allocations: 47.94 kB / 379.6 MB, free: 12.68 MB / 318.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.000509/0.3219, allocations: 0.6657 MB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.3221, allocations: 20.47 kB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3221, allocations: 3.438 kB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.708e-05/0.3221, allocations: 10.5 kB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.3223, allocations: 2.453 kB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.3232, allocations: 1.182 MB / 381.5 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.3233, allocations: 0.6781 MB / 382.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.3235, allocations: 4.719 kB / 382.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.3235, allocations: 16.25 kB / 382.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3235, allocations: 0 / 382.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.3462, allocations: 2.001 MB / 384.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.308, allocations: 17 kB / 384.2 MB, free: 9.812 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches