Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 108.6 kB / 18.49 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 197 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 249.8 MB, free: 3.582 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 43.94 kB / 366.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09519, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.00183/0.09702, allocations: 0.5258 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.09909, allocations: 1.491 MB / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.09912, allocations: 0 / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.09913, allocations: 0 / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006306/0.09976, allocations: 171.4 kB / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.347e-05/0.09979, allocations: 3.984 kB / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.797e-05/0.09984, allocations: 15.94 kB / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.09988, allocations: 8 kB / 420.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.09992, allocations: 11.92 kB / 420.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.09997, allocations: 11.94 kB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.09998, allocations: 0 / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.1003, allocations: 239.7 kB / 420.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1004, allocations: 7.984 kB / 421 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.1004, allocations: 7.938 kB / 421 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1006, allocations: 171.5 kB / 421.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1006, allocations: 0 / 421.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1006, allocations: 0 / 421.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1007, allocations: 4 kB / 421.1 MB, free: 9.922 MB / 350.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.0004335/0.1011, allocations: 371 kB / 421.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1011, allocations: 8.031 kB / 421.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.006e-05/0.1011, allocations: 192 / 421.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.1012, allocations: 34.75 kB / 421.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.1012, allocations: 8.922 kB / 421.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.1013, allocations: 168.3 kB / 421.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1013, allocations: 384 / 421.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1014, allocations: 12.36 kB / 421.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.1014, allocations: 41.62 kB / 421.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1015, allocations: 0 / 421.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1015, allocations: 0 / 421.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1015, allocations: 0 / 421.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.291e-05/0.1015, allocations: 7.938 kB / 421.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.1017, allocations: 157.7 kB / 421.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.565e-05/0.1017, allocations: 30.61 kB / 422 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.1018, allocations: 16.86 kB / 422 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.1018, allocations: 3.938 kB / 422 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1018, allocations: 34.56 kB / 422 MB, free: 8.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1018, allocations: 0 / 422 MB, free: 8.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001338/0.1019, allocations: 49.72 kB / 422.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.102, allocations: 55.39 kB / 422.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.1021, allocations: 97.86 kB / 422.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1021, allocations: 33.7 kB / 422.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.1021, allocations: 80.14 kB / 422.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.1021, allocations: 15.89 kB / 422.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.1022, allocations: 13.72 kB / 422.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1023, allocations: 314.8 kB / 422.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.1023, allocations: 4 kB / 422.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.1024, allocations: 25.7 kB / 422.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.035e-05/0.1024, allocations: 33.66 kB / 422.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1024, allocations: 0 / 422.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.231e-05/0.1025, allocations: 65.52 kB / 422.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1025, allocations: 4 kB / 422.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1025, allocations: 0 / 422.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1025, allocations: 432 / 422.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.1026, allocations: 8 kB / 422.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1026, allocations: 3.938 kB / 422.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.1026, allocations: 4 kB / 422.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1026, allocations: 12.08 kB / 422.8 MB, free: 8 MB / 350.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.033e-05/0.1027, allocations: 110.5 kB / 422.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.1027, allocations: 11.94 kB / 422.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.1027, allocations: 7.484 kB / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1027, allocations: 0 / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1027, allocations: 0 / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1027, allocations: 0 / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.1029, allocations: 157.7 kB / 423.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1029, allocations: 3.938 kB / 423.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.1029, allocations: 8 kB / 423.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1029, allocations: 0 / 423.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1029, allocations: 7.984 kB / 423.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1029, allocations: 3.938 kB / 423.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1029, allocations: 0 / 423.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.1031, allocations: 77.08 kB / 423.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.1031, allocations: 84.98 kB / 423.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.1031, allocations: 0 / 423.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.1032, allocations: 4.094 kB / 423.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.1032, allocations: 11.98 kB / 423.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.1032, allocations: 0 / 423.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.491e-05/0.1032, allocations: 79.28 kB / 423.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1032, allocations: 0 / 423.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.1035, allocations: 51.86 kB / 423.4 MB, free: 7.293 MB / 350.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.0005417/0.1041, allocations: 0.6747 MB / 424.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.357e-05/0.1042, allocations: 19.98 kB / 424.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1042, allocations: 0 / 424.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.1042, allocations: 7.938 kB / 424.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.1043, allocations: 2.391 kB / 424.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1053, allocations: 1.193 MB / 425.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1056, allocations: 0.6844 MB / 426 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.443e-05/0.1057, allocations: 7.984 kB / 426 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.1057, allocations: 11.44 kB / 426 MB, free: 4.551 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1057, allocations: 0 / 426 MB, free: 4.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.1249, allocations: 2.052 MB / 428.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.767, allocations: 21.89 kB / 428.1 MB, free: 2.586 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,q,qd Variables in the result:A,der(q),der(qd),q,qd,s,time,wq,ws,x [Calling sys.exit(0), Time elapsed: 10.060306813044008]