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.0015/0.0015, allocations: 117 kB / 18.49 MB, free: 4.566 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.001592/0.001592, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.389/1.389, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.001763/0.001763, allocations: 63.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.09106, allocations: 53.37 MB / 427.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001625/0.09268, allocations: 0.5225 MB / 427.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.0946, allocations: 1.564 MB / 429.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.09463, allocations: 0 / 429.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.09464, allocations: 3.938 kB / 429.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.0952, allocations: 175.5 kB / 429.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.815e-05/0.09522, allocations: 0 / 429.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.09528, allocations: 19.92 kB / 429.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.09532, allocations: 3.984 kB / 429.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.962e-05/0.09536, allocations: 4 kB / 429.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.09541, allocations: 15.92 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.09542, allocations: 0 / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.09578, allocations: 251.7 kB / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-06/0.09579, allocations: 0 / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.09581, allocations: 7.938 kB / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.09607, allocations: 183.5 kB / 429.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09607, allocations: 0 / 429.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09607, allocations: 0 / 429.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.09608, allocations: 4 kB / 429.8 MB, free: 1.848 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.000493/0.09657, allocations: 359.1 kB / 430.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.09661, allocations: 8.031 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.867e-05/0.09663, allocations: 192 / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.09666, allocations: 42.73 kB / 430.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.09668, allocations: 4.875 kB / 430.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.09682, allocations: 164.4 kB / 430.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.09683, allocations: 4.375 kB / 430.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.09684, allocations: 384 / 430.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.749e-05/0.09692, allocations: 41.61 kB / 430.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.09693, allocations: 0 / 430.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.09694, allocations: 0 / 430.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.09694, allocations: 4 kB / 430.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.09697, allocations: 11.98 kB / 430.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.09713, allocations: 157.7 kB / 430.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.802e-05/0.0972, allocations: 34.52 kB / 430.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.09722, allocations: 8.859 kB / 430.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.09724, allocations: 3.938 kB / 430.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.09726, allocations: 38.58 kB / 430.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.09726, allocations: 0 / 430.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001307/0.09739, allocations: 53.58 kB / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.09743, allocations: 59.34 kB / 430.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.09751, allocations: 101.9 kB / 430.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.09753, allocations: 25.7 kB / 430.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.09757, allocations: 84.14 kB / 431 MB, free: 468 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.09759, allocations: 15.89 kB / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.09762, allocations: 13.72 kB / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.09774, allocations: 314.8 kB / 431.3 MB, free: 108 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.09776, allocations: 12 kB / 431.3 MB, free: 96 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.09779, allocations: 21.7 kB / 431.3 MB, free: 68 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.09783, allocations: 29.78 kB / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.09783, allocations: 4 kB / 431.4 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.636e-05/0.09793, allocations: 57.62 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.09794, allocations: 4 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.09795, allocations: 0 / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.09796, allocations: 4.031 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.09802, allocations: 8 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.09803, allocations: 11.92 kB / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.09805, allocations: 3.938 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-06/0.09805, allocations: 0 / 431.5 MB, free: 15.93 MB / 366.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.059e-05/0.09812, allocations: 109.8 kB / 431.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.09814, allocations: 4.359 kB / 431.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.09816, allocations: 7.5 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.09816, allocations: 4 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.09817, allocations: 4 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.09817, allocations: 3.984 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.09828, allocations: 157.6 kB / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.09829, allocations: 3.938 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.09835, allocations: 11.98 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.09835, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.09835, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.09835, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.09836, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.09847, allocations: 81.06 kB / 431.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.09851, allocations: 85.08 kB / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.09853, allocations: 0 / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.09854, allocations: 0 / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.09856, allocations: 7.922 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.09856, allocations: 0 / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.274e-05/0.0986, allocations: 83.28 kB / 432 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0986, allocations: 7.938 kB / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.09886, allocations: 51.86 kB / 432.1 MB, free: 15.22 MB / 366.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.0005385/0.0994, allocations: 0.6748 MB / 432.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.563e-05/0.09947, allocations: 15.98 kB / 432.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.09947, allocations: 0 / 432.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.862e-05/0.09949, allocations: 8 kB / 432.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.09962, allocations: 2.188 kB / 432.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009966/0.1006, allocations: 1.196 MB / 434 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1009, allocations: 0.6846 MB / 434.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.628e-05/0.101, allocations: 0 / 434.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.101, allocations: 11.44 kB / 434.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.101, allocations: 0 / 434.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.1201, allocations: 2.108 MB / 436.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/7.815, allocations: 7.078 kB / 436.8 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 652] (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] "" 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.332299516012426]