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.001762/0.001762, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00161/0.00161, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.793 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: 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 0.00211/0.00211, allocations: 63.89 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2453, allocations: 53.4 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001595/0.2469, allocations: 0.5275 MB / 432.2 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.2489, allocations: 1.469 MB / 433.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.2489, allocations: 4 kB / 433.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.026e-05/0.2489, allocations: 0 / 433.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.2495, allocations: 175.4 kB / 433.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.975e-05/0.2495, allocations: 4 kB / 433.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.665e-05/0.2496, allocations: 11.92 kB / 433.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.01e-05/0.2496, allocations: 4 kB / 433.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.565e-05/0.2497, allocations: 11.94 kB / 433.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.2497, allocations: 11.97 kB / 433.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.968e-06/0.2497, allocations: 0 / 433.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.2501, allocations: 235.7 kB / 434.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.2501, allocations: 7.938 kB / 434.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.2501, allocations: 3.984 kB / 434.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.2505, allocations: 172.9 kB / 434.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2505, allocations: 0 / 434.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.089e-06/0.2505, allocations: 4 kB / 434.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.2505, allocations: 0 / 434.3 MB, free: 3.918 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.0005318/0.251, allocations: 290 kB / 434.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2511, allocations: 15.92 kB / 434.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.2511, allocations: 4.938 kB / 434.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2512, allocations: 114.5 kB / 434.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2512, allocations: 4.375 kB / 434.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.2512, allocations: 384 / 434.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/0.2513, allocations: 38 kB / 434.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2513, allocations: 3.938 kB / 434.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.2513, allocations: 4 kB / 434.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2513, allocations: 3.984 kB / 434.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.774e-05/0.2514, allocations: 15.92 kB / 434.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.2515, allocations: 101.3 kB / 434.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/0.2516, allocations: 42.53 kB / 434.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.2516, allocations: 8.859 kB / 434.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.2516, allocations: 4 kB / 434.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2517, allocations: 30.56 kB / 434.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2517, allocations: 0 / 434.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001428/0.2518, allocations: 61.61 kB / 435 MB, free: 3.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2518, allocations: 51.41 kB / 435 MB, free: 3.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.2519, allocations: 101.8 kB / 435.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2519, allocations: 25.7 kB / 435.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.252, allocations: 88.14 kB / 435.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.252, allocations: 11.89 kB / 435.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.252, allocations: 17.72 kB / 435.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2522, allocations: 314.8 kB / 435.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.2522, allocations: 8 kB / 435.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.2522, allocations: 21.7 kB / 435.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/0.2523, allocations: 29.66 kB / 435.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2523, allocations: 4 kB / 435.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001141/0.2524, allocations: 53.69 kB / 435.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2524, allocations: 4 kB / 435.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2524, allocations: 3.938 kB / 435.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2524, allocations: 4 kB / 435.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.2525, allocations: 7.969 kB / 435.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2525, allocations: 8 kB / 435.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.2525, allocations: 0 / 435.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.2525, allocations: 0 / 435.7 MB, free: 2.27 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 8.409e-05/0.2526, allocations: 113.8 kB / 435.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.2526, allocations: 0 / 435.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.2527, allocations: 11.62 kB / 435.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2527, allocations: 4.125 kB / 435.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2527, allocations: 4 kB / 435.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2527, allocations: 0 / 435.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.396e-05/0.2528, allocations: 109.3 kB / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2528, allocations: 4.422 kB / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.2528, allocations: 8 kB / 436 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2528, allocations: 3.938 kB / 436 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.2528, allocations: 0 / 436 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2528, allocations: 3.938 kB / 436 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2528, allocations: 3.938 kB / 436 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.253, allocations: 89.06 kB / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-06/0.253, allocations: 3.938 kB / 436.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.253, allocations: 0 / 436.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.253, allocations: 3.938 kB / 436.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.253, allocations: 4.062 kB / 436.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.253, allocations: 4 kB / 436.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.987e-05/0.2531, allocations: 83.27 kB / 436.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2531, allocations: 0 / 436.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.2533, allocations: 51.88 kB / 436.2 MB, free: 1.711 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.0002506/0.2536, allocations: 147.1 kB / 436.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.546e-05/0.2537, allocations: 23.92 kB / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2537, allocations: 0 / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.2537, allocations: 12 kB / 436.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.2538, allocations: 4.062 kB / 436.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.2541, allocations: 134.2 kB / 436.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.2541, allocations: 59.34 kB / 436.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.092e-05/0.2542, allocations: 7.984 kB / 436.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.2542, allocations: 11.44 kB / 436.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2542, allocations: 0 / 436.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of Templates: time 0.003795/0.258, allocations: 1.124 MB / 437.7 MB, free: 148 kB / 334.1 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.366159891709685]