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.001698/0.001698, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.002024/0.002024, allocations: 214.8 kB / 23 MB, free: 5.609 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.467/1.467, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.001862/0.001862, allocations: 63.88 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2653, allocations: 53.31 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001688/0.267, allocations: 0.52 MB / 430.3 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.2691, allocations: 1.562 MB / 431.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.2692, allocations: 4 kB / 431.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.2692, allocations: 3.938 kB / 431.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.2699, allocations: 171.4 kB / 432 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.637e-05/0.2699, allocations: 8 kB / 432.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.013e-05/0.27, allocations: 11.94 kB / 432.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.27, allocations: 3.984 kB / 432.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.047e-05/0.2701, allocations: 11.94 kB / 432.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.2701, allocations: 7.984 kB / 432.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2701, allocations: 0 / 432.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.2706, allocations: 251.7 kB / 432.3 MB, free: 5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.2706, allocations: 7.938 kB / 432.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.2706, allocations: 0 / 432.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.2709, allocations: 176.8 kB / 432.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2709, allocations: 0 / 432.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2709, allocations: 0 / 432.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2709, allocations: 0 / 432.5 MB, free: 4.824 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.0004861/0.2714, allocations: 367.1 kB / 432.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2714, allocations: 12.03 kB / 432.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.2715, allocations: 0.9375 kB / 432.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.2717, allocations: 172.3 kB / 433.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2717, allocations: 4.375 kB / 433.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.2717, allocations: 8.297 kB / 433.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.591e-05/0.2718, allocations: 46 kB / 433.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2718, allocations: 3.938 kB / 433.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2718, allocations: 0 / 433.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.2718, allocations: 0 / 433.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.2719, allocations: 11.98 kB / 433.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.2721, allocations: 169.7 kB / 433.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.788e-05/0.2722, allocations: 34.52 kB / 433.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.2722, allocations: 12.94 kB / 433.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.2722, allocations: 0 / 433.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.2722, allocations: 34.5 kB / 433.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.2722, allocations: 0 / 433.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001582/0.2724, allocations: 45.69 kB / 433.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.2725, allocations: 63.34 kB / 433.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.2725, allocations: 97.86 kB / 433.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.2726, allocations: 25.7 kB / 433.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.2726, allocations: 88.12 kB / 433.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.2726, allocations: 11.91 kB / 433.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2727, allocations: 17.72 kB / 433.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2728, allocations: 314.8 kB / 434 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.2728, allocations: 12 kB / 434 MB, free: 3.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.2729, allocations: 17.72 kB / 434.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.2729, allocations: 25.72 kB / 434.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2729, allocations: 0 / 434.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.758e-05/0.273, allocations: 57.62 kB / 434.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.273, allocations: 11.94 kB / 434.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.273, allocations: 0 / 434.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.273, allocations: 464 / 434.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.2731, allocations: 15.98 kB / 434.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2731, allocations: 0 / 434.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.2732, allocations: 3.938 kB / 434.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.2732, allocations: 4 kB / 434.2 MB, free: 2.938 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.894e-05/0.2732, allocations: 105.8 kB / 434.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.2733, allocations: 11.89 kB / 434.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.2733, allocations: 11.48 kB / 434.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2733, allocations: 0 / 434.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2733, allocations: 3.938 kB / 434.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2733, allocations: 4 kB / 434.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.2734, allocations: 153.7 kB / 434.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2734, allocations: 0 / 434.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.2735, allocations: 11.98 kB / 434.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2735, allocations: 3.938 kB / 434.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2735, allocations: 0 / 434.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2735, allocations: 0 / 434.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2735, allocations: 3.938 kB / 434.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.2736, allocations: 85.06 kB / 434.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.2737, allocations: 84.98 kB / 434.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.2737, allocations: 8.109 kB / 434.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.721e-05/0.2737, allocations: 0 / 434.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.2737, allocations: 4.031 kB / 434.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.2737, allocations: 0 / 434.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.678e-05/0.2738, allocations: 83.28 kB / 434.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2738, allocations: 0 / 434.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.274, allocations: 51.86 kB / 434.8 MB, free: 2.219 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.0002775/0.2743, allocations: 159.1 kB / 434.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.608e-05/0.2744, allocations: 15.94 kB / 435 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2744, allocations: 0 / 435 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.2744, allocations: 11.98 kB / 435 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.2746, allocations: 0 / 435 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.2749, allocations: 138 kB / 435.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2752, allocations: 0.6846 MB / 435.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.2753, allocations: 4 kB / 435.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.2753, allocations: 7.438 kB / 435.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2753, allocations: 0 / 435.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of Templates: time 0.00388/0.2792, allocations: 1.132 MB / 436.9 MB, free: 8 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.372378783300519]