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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 118.3 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 205.7 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 207.6 MB / 232.5 MB, free: 3.949 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 55.94 kB / 343 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.09132, allocations: 49.13 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001586/0.0929, allocations: 0.5397 MB / 392.7 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.09478, allocations: 1.527 MB / 394.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.0948, allocations: 0 / 394.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.09482, allocations: 3.938 kB / 394.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005621/0.09538, allocations: 179.7 kB / 394.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.156e-05/0.0954, allocations: 4 kB / 394.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.814e-05/0.09545, allocations: 15.92 kB / 394.4 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.09548, allocations: 0 / 394.4 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.09552, allocations: 11.94 kB / 394.4 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.09557, allocations: 7.984 kB / 394.4 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.09558, allocations: 0 / 394.4 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003573/0.09594, allocations: 243.6 kB / 394.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.09595, allocations: 15.97 kB / 394.7 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.09597, allocations: 7.938 kB / 394.7 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.09624, allocations: 163.7 kB / 394.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.09624, allocations: 0 / 394.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09624, allocations: 0 / 394.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.09625, allocations: 0 / 394.8 MB, free: 5.977 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.0004572/0.0967, allocations: 367.1 kB / 395.2 MB, free: 5.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.09674, allocations: 8.031 kB / 395.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.647e-05/0.09675, allocations: 4.188 kB / 395.2 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.09678, allocations: 38.62 kB / 395.2 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.0968, allocations: 4.938 kB / 395.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.09695, allocations: 164.4 kB / 395.4 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.09696, allocations: 4.375 kB / 395.4 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.09698, allocations: 4.328 kB / 395.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.651e-05/0.09705, allocations: 41.62 kB / 395.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.09706, allocations: 0 / 395.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.09707, allocations: 0 / 395.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.09707, allocations: 0 / 395.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.258e-05/0.0971, allocations: 11.98 kB / 395.5 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.09728, allocations: 161.7 kB / 395.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.09735, allocations: 34.55 kB / 395.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.09737, allocations: 8.859 kB / 395.7 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.09738, allocations: 3.938 kB / 395.7 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.0974, allocations: 34.56 kB / 395.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.0974, allocations: 0 / 395.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001478/0.09755, allocations: 53.72 kB / 395.8 MB, free: 4.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.09758, allocations: 51.41 kB / 395.8 MB, free: 4.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.09767, allocations: 105.8 kB / 395.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.09769, allocations: 25.7 kB / 395.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.09773, allocations: 80.14 kB / 396 MB, free: 4.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.09776, allocations: 15.84 kB / 396 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.09779, allocations: 17.72 kB / 396 MB, free: 4.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.09793, allocations: 322.8 kB / 396.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.09795, allocations: 11.94 kB / 396.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.09798, allocations: 13.72 kB / 396.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.09803, allocations: 33.64 kB / 396.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.09803, allocations: 0 / 396.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.746e-05/0.09812, allocations: 57.62 kB / 396.5 MB, free: 4.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.09813, allocations: 4 kB / 396.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.09814, allocations: 32 / 396.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.09815, allocations: 8 kB / 396.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.09822, allocations: 7.938 kB / 396.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.09823, allocations: 0 / 396.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.09825, allocations: 8 kB / 396.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-06/0.09825, allocations: 0 / 396.5 MB, free: 4.062 MB / 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 9.077e-05/0.09834, allocations: 113.8 kB / 396.6 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.09836, allocations: 7.891 kB / 396.6 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.09838, allocations: 11.48 kB / 396.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.09838, allocations: 4 kB / 396.6 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.09838, allocations: 0 / 396.6 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.09839, allocations: 4 kB / 396.6 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.09851, allocations: 153.8 kB / 396.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.09852, allocations: 7.938 kB / 396.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.09858, allocations: 4 kB / 396.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.09858, allocations: 4 kB / 396.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.09859, allocations: 0 / 396.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.09859, allocations: 0 / 396.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.09859, allocations: 432 / 396.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.09871, allocations: 85.03 kB / 396.9 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.09876, allocations: 85 kB / 397 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.09878, allocations: 8.031 kB / 397 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.766e-05/0.0988, allocations: 0 / 397 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.09881, allocations: 0 / 397 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.09881, allocations: 0 / 397 MB, free: 3.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.891e-05/0.09886, allocations: 83.27 kB / 397.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09886, allocations: 0 / 397.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.09912, allocations: 51.88 kB / 397.1 MB, free: 3.355 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.0005523/0.09967, allocations: 0.6709 MB / 397.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.956e-05/0.09975, allocations: 19.98 kB / 397.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.09975, allocations: 0 / 397.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.294e-05/0.09976, allocations: 4 kB / 397.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.0999, allocations: 12.12 kB / 397.8 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.101, allocations: 1.194 MB / 399 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1013, allocations: 0.6807 MB / 399.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.687e-05/0.1014, allocations: 3.938 kB / 399.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.1014, allocations: 15.44 kB / 399.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1014, allocations: 0 / 399.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.1201, allocations: 2.041 MB / 401.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.05, allocations: 15.89 kB / 401.8 MB, free: 14.5 MB / 334.1 MB " [Timeout remaining time 652] (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 --stepSize=0.0009996 --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) [Timeout 52.5] 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) [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.44469328597188]