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.001785/0.001785, allocations: 110 kB / 20.43 MB, free: 1.453 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.002262/0.002262, allocations: 210.6 kB / 23.74 MB, free: 4.66 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.412/1.412, allocations: 230.5 MB / 257.4 MB, free: 7.965 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.84 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2532, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001621/0.2549, allocations: 0.5162 MB / 431.7 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.2569, allocations: 1.566 MB / 433.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.2569, allocations: 4 kB / 433.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.257, allocations: 3.938 kB / 433.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.2576, allocations: 179.1 kB / 433.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.193e-05/0.2576, allocations: 3.984 kB / 433.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.678e-05/0.2577, allocations: 15.94 kB / 433.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.2577, allocations: 3.984 kB / 433.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.151e-05/0.2578, allocations: 7.938 kB / 433.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.2578, allocations: 4 kB / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2578, allocations: 0 / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.2582, allocations: 255.7 kB / 433.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.2582, allocations: 15.86 kB / 433.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.855e-05/0.2583, allocations: 0 / 433.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.2585, allocations: 176 kB / 433.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2585, allocations: 0 / 433.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2585, allocations: 0 / 433.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2586, allocations: 0 / 433.9 MB, free: 3.922 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.0004236/0.259, allocations: 297.9 kB / 434.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.259, allocations: 8.031 kB / 434.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.2591, allocations: 34.69 kB / 434.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.2591, allocations: 8.938 kB / 434.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.2592, allocations: 110.5 kB / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2592, allocations: 384 / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.2592, allocations: 384 / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.06e-05/0.2593, allocations: 37.81 kB / 434.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2593, allocations: 0 / 434.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2593, allocations: 7.938 kB / 434.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2593, allocations: 8 kB / 434.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.181e-05/0.2594, allocations: 7.984 kB / 434.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.2595, allocations: 128.8 kB / 434.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.151e-05/0.2596, allocations: 38.5 kB / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.2596, allocations: 8.859 kB / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.2596, allocations: 0 / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2597, allocations: 42.58 kB / 434.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.2597, allocations: 0 / 434.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001417/0.2598, allocations: 53.58 kB / 434.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2598, allocations: 55.41 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.2599, allocations: 101.9 kB / 434.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.2599, allocations: 25.7 kB / 434.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.26, allocations: 80.14 kB / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.26, allocations: 15.89 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.26, allocations: 17.72 kB / 435 MB, free: 2.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2602, allocations: 314.8 kB / 435.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.2602, allocations: 4 kB / 435.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.2602, allocations: 25.7 kB / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.778e-05/0.2603, allocations: 29.66 kB / 435.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2603, allocations: 0 / 435.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.771e-05/0.2604, allocations: 57.62 kB / 435.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2604, allocations: 4 kB / 435.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2604, allocations: 4 kB / 435.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2604, allocations: 0 / 435.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.2605, allocations: 19.95 kB / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2605, allocations: 0 / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.2605, allocations: 7.875 kB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.2605, allocations: 0 / 435.4 MB, free: 2.195 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.491e-05/0.2606, allocations: 113.8 kB / 435.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.2606, allocations: 3.938 kB / 435.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.2606, allocations: 7.688 kB / 435.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2606, allocations: 0 / 435.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2606, allocations: 0 / 435.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2606, allocations: 4 kB / 435.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.2607, allocations: 128.7 kB / 435.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2607, allocations: 3.938 kB / 435.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.2608, allocations: 11.94 kB / 435.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2608, allocations: 3.984 kB / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2608, allocations: 0 / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2608, allocations: 0 / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2608, allocations: 0 / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.2609, allocations: 85.64 kB / 435.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.261, allocations: 7.969 kB / 435.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.261, allocations: 4 kB / 435.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.261, allocations: 0 / 435.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.261, allocations: 7.984 kB / 435.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.261, allocations: 0 / 435.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.31e-05/0.2611, allocations: 83.28 kB / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2611, allocations: 0 / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.2613, allocations: 51.86 kB / 435.9 MB, free: 1.613 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.0005951/0.2619, allocations: 0.6786 MB / 436.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.807e-05/0.262, allocations: 15.98 kB / 436.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.262, allocations: 0 / 436.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.284e-05/0.262, allocations: 8 kB / 436.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.2622, allocations: 3.938 kB / 436.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.2634, allocations: 1.198 MB / 437.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.2637, allocations: 0.6807 MB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.2638, allocations: 0 / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.2638, allocations: 11.44 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2638, allocations: 0 / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.2948, allocations: 2.191 MB / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.75, allocations: 11.91 kB / 440.7 MB, free: 12.77 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: 13.123764802934602]