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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 210.7 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 230.5 MB / 258.2 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 67.89 kB / 378.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2158, allocations: 53.41 MB / 432 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001433/0.2172, allocations: 0.5123 MB / 432.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2194, allocations: 1.574 MB / 434.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.2194, allocations: 0 / 434.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.2194, allocations: 0 / 434.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.22, allocations: 182.9 kB / 434.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.843e-05/0.22, allocations: 0 / 434.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.653e-05/0.2201, allocations: 19.92 kB / 434.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.2201, allocations: 0 / 434.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.91e-05/0.2201, allocations: 7.938 kB / 434.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.2202, allocations: 4 kB / 434.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.2202, allocations: 0 / 434.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.2205, allocations: 259.7 kB / 434.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.2206, allocations: 7.938 kB / 434.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.2206, allocations: 0 / 434.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.2208, allocations: 184.3 kB / 434.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2208, allocations: 0 / 434.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2208, allocations: 0 / 434.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.2208, allocations: 4 kB / 434.7 MB, free: 3.895 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.0003764/0.2212, allocations: 293.9 kB / 435 MB, free: 3.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2212, allocations: 12.03 kB / 435 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.244e-05/0.2213, allocations: 4.188 kB / 435 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.2213, allocations: 30.75 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.968e-05/0.2213, allocations: 0.9375 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2214, allocations: 110.5 kB / 435.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.2214, allocations: 4.312 kB / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2214, allocations: 8.359 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.178e-05/0.2215, allocations: 37.64 kB / 435.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2215, allocations: 0 / 435.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.2215, allocations: 11.94 kB / 435.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2215, allocations: 0 / 435.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.087e-05/0.2216, allocations: 7.984 kB / 435.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.2217, allocations: 128.8 kB / 435.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.2218, allocations: 26.58 kB / 435.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.2218, allocations: 12.94 kB / 435.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.2218, allocations: 3.938 kB / 435.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.2218, allocations: 42.5 kB / 435.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 2.615e-06/0.2218, allocations: 7.922 kB / 435.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001429/0.222, allocations: 53.64 kB / 435.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.222, allocations: 51.41 kB / 435.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.964e-05/0.2221, allocations: 93.86 kB / 435.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.2222, allocations: 33.69 kB / 435.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.2222, allocations: 84.14 kB / 435.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.2222, allocations: 7.906 kB / 435.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.2223, allocations: 21.72 kB / 435.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2224, allocations: 318.8 kB / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-05/0.2225, allocations: 4 kB / 436.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.2225, allocations: 21.72 kB / 436.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.2226, allocations: 25.66 kB / 436.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2226, allocations: 0 / 436.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.926e-05/0.2226, allocations: 65.56 kB / 436.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2227, allocations: 8 kB / 436.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.2227, allocations: 0 / 436.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.2227, allocations: 0 / 436.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.807e-05/0.2227, allocations: 11.98 kB / 436.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.2227, allocations: 0 / 436.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.2228, allocations: 3.938 kB / 436.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.2228, allocations: 4 kB / 436.2 MB, free: 2.172 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 7.498e-05/0.2228, allocations: 109.8 kB / 436.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.2229, allocations: 7.938 kB / 436.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.2229, allocations: 7.719 kB / 436.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2229, allocations: 3.938 kB / 436.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2229, allocations: 0 / 436.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2229, allocations: 3.984 kB / 436.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.223, allocations: 132.7 kB / 436.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.223, allocations: 3.938 kB / 436.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.2231, allocations: 11.92 kB / 436.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.2231, allocations: 0 / 436.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2231, allocations: 0 / 436.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2231, allocations: 4 kB / 436.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2231, allocations: 4.125 kB / 436.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.2232, allocations: 77.12 kB / 436.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-06/0.2232, allocations: 3.938 kB / 436.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2232, allocations: 3.984 kB / 436.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.605e-05/0.2232, allocations: 4.031 kB / 436.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-06/0.2232, allocations: 0 / 436.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.2232, allocations: 480 / 436.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.2233, allocations: 83.34 kB / 436.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2233, allocations: 4 kB / 436.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.2235, allocations: 59.8 kB / 436.7 MB, free: 1.582 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.0005217/0.224, allocations: 0.6709 MB / 437.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.502e-05/0.2241, allocations: 19.98 kB / 437.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2241, allocations: 4.125 kB / 437.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.2241, allocations: 7.938 kB / 437.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.2242, allocations: 6.812 kB / 437.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000988/0.2252, allocations: 1.182 MB / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.2255, allocations: 0.6768 MB / 439.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.659e-05/0.2256, allocations: 4 kB / 439.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.2256, allocations: 19.38 kB / 439.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2256, allocations: 0 / 439.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.2486, allocations: 2.221 MB / 441.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.59, allocations: 10.7 kB / 441.6 MB, free: 12.73 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.90369611600181]