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.001657/0.001657, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001974/0.001974, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 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.468/1.468, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.555e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001558/0.001584, allocations: 0.527 MB / 272.7 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.003888, allocations: 1.474 MB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.003915, allocations: 0 / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.003929, allocations: 0 / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006833/0.004612, allocations: 187.2 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.837e-05/0.004631, allocations: 0 / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.152e-05/0.004682, allocations: 15.92 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.728e-05/0.004709, allocations: 4 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.004769, allocations: 11.98 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.004819, allocations: 7.984 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.004832, allocations: 0 / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.005256, allocations: 235.6 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.005274, allocations: 7.984 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.005298, allocations: 3.984 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.005649, allocations: 211.5 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005651, allocations: 0 / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005651, allocations: 0 / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.005655, allocations: 8 kB / 274.9 MB, free: 15.11 MB / 266.7 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.000463/0.006118, allocations: 293.8 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.006153, allocations: 11.98 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.006195, allocations: 4.938 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.00633, allocations: 109.8 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.006344, allocations: 4.375 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.006366, allocations: 384 / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.006447, allocations: 30.27 kB / 275.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.006456, allocations: 4.188 kB / 275.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.006463, allocations: 4.312 kB / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.006469, allocations: 7.938 kB / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.006503, allocations: 11.98 kB / 275.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.006661, allocations: 105.4 kB / 275.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.711e-05/0.006738, allocations: 30.58 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.006762, allocations: 8.859 kB / 275.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.006782, allocations: 0 / 275.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.006822, allocations: 42.58 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.006823, allocations: 4 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001572/0.00698, allocations: 53.62 kB / 275.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.007026, allocations: 55.34 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.00713, allocations: 101.9 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.007148, allocations: 29.7 kB / 275.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.007207, allocations: 84.14 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.007233, allocations: 11.89 kB / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.00727, allocations: 17.72 kB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.007443, allocations: 314.8 kB / 276.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.007463, allocations: 8 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.007495, allocations: 21.64 kB / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.459e-05/0.007549, allocations: 29.72 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007551, allocations: 0 / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001039/0.007655, allocations: 61.62 kB / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.007669, allocations: 8 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.007672, allocations: 0 / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.007698, allocations: 3.938 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.007771, allocations: 8 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.007782, allocations: 7.922 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.007804, allocations: 3.938 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.00781, allocations: 4 kB / 276.3 MB, free: 13.46 MB / 266.7 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 0.00019/0.008, allocations: 105.8 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.008016, allocations: 8 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.008039, allocations: 7.719 kB / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.00804, allocations: 0 / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.008047, allocations: 3.938 kB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.008049, allocations: 0 / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.008169, allocations: 117.2 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.00817, allocations: 0 / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.008228, allocations: 7.938 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008229, allocations: 0 / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.008235, allocations: 4 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008237, allocations: 0 / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.008237, allocations: 0 / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.008377, allocations: 85.05 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.008385, allocations: 4.031 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.008397, allocations: 0 / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.008414, allocations: 0 / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.008426, allocations: 128 / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.008437, allocations: 11.94 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.008498, allocations: 87.73 kB / 276.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008498, allocations: 0 / 276.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.008773, allocations: 47.88 kB / 276.8 MB, free: 12.92 MB / 266.7 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.0002889/0.009062, allocations: 167.1 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.677e-05/0.009138, allocations: 20.12 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.00914, allocations: 0 / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.798e-05/0.009158, allocations: 8.094 kB / 277 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.009297, allocations: 96 / 277 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.009581, allocations: 136.3 kB / 277.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.561e-05/0.009647, allocations: 67.28 kB / 277.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.063e-05/0.009717, allocations: 7.984 kB / 277.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.009744, allocations: 8.5 kB / 277.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009744, allocations: 4.062 kB / 277.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Templates: time 0.004097/0.01384, allocations: 1.158 MB / 278.4 MB, free: 11.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/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: 4.234796458971687]