Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001547/0.001547, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.00205/0.00205, allocations: 209.7 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 258.3 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 68.78 kB / 379 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2606, allocations: 53.37 MB / 432.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003706/0.2643, allocations: 2.378 MB / 434.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2656, allocations: 0.6699 MB / 435.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.2657, allocations: 7.938 kB / 435.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.2659, allocations: 31.66 kB / 435.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.266, allocations: 75.34 kB / 435.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.2663, allocations: 67.84 kB / 435.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.2667, allocations: 262.7 kB / 435.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.2668, allocations: 65.25 kB / 435.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.2671, allocations: 107.6 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.2672, allocations: 107.5 kB / 436.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.2673, allocations: 19.94 kB / 436.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.2673, allocations: 28 kB / 436.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.2674, allocations: 43.84 kB / 436.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.2675, allocations: 123.4 kB / 436.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.2679, allocations: 252.5 kB / 436.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2679, allocations: 0 / 436.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2679, allocations: 0 / 436.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2679, allocations: 3.938 kB / 436.6 MB, free: 2.754 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007501/0.2686, allocations: 453.5 kB / 437.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2687, allocations: 12.03 kB / 437.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.2688, allocations: 36.8 kB / 437.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.2692, allocations: 182.8 kB / 437.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2692, allocations: 16.81 kB / 437.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.2693, allocations: 16.38 kB / 437.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.2697, allocations: 214.2 kB / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.2697, allocations: 3.953 kB / 437.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.2697, allocations: 12 kB / 437.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2697, allocations: 8 kB / 437.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.27, allocations: 129.6 kB / 437.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.2711, allocations: 0.6656 MB / 438.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.2713, allocations: 146.5 kB / 438.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.2715, allocations: 68.77 kB / 438.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.2715, allocations: 0 / 438.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.2715, allocations: 38.56 kB / 438.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 9.52e-07/0.2715, allocations: 0 / 438.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001569/0.2731, allocations: 0.7347 MB / 439.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2731, allocations: 55.39 kB / 439.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2733, allocations: 176.4 kB / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.2733, allocations: 25.7 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2734, allocations: 152.4 kB / 439.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/0.2735, allocations: 91.23 kB / 439.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.2736, allocations: 49.64 kB / 439.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2738, allocations: 330.8 kB / 440.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.2739, allocations: 59.97 kB / 440.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.274, allocations: 92.2 kB / 440.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.2743, allocations: 176.2 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.2743, allocations: 0 / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004659/0.2748, allocations: 258.1 kB / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2748, allocations: 4 kB / 440.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2748, allocations: 4 kB / 440.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.275, allocations: 36.77 kB / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.2752, allocations: 51.92 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.2766, allocations: 1.377 MB / 442.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2767, allocations: 11.98 kB / 442.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.2767, allocations: 12 kB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.2769, allocations: 137.8 kB / 442.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.2769, allocations: 19.86 kB / 442.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.277, allocations: 25.97 kB / 442.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.277, allocations: 7.938 kB / 442.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.277, allocations: 0 / 442.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.277, allocations: 3.984 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.278, allocations: 0.6178 MB / 443.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.278, allocations: 3.984 kB / 443.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.2782, allocations: 43.92 kB / 443.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.2784, allocations: 36.83 kB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2784, allocations: 4 kB / 443.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.2796, allocations: 1.385 MB / 444.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2796, allocations: 4.062 kB / 444.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.2802, allocations: 413.7 kB / 444.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.2803, allocations: 15.86 kB / 445 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.2803, allocations: 8 kB / 445 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.2804, allocations: 12.03 kB / 445 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.2805, allocations: 19.91 kB / 445 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2805, allocations: 8 kB / 445 MB, free: 9.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.2806, allocations: 125.2 kB / 445.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2806, allocations: 0 / 445.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.2809, allocations: 63.98 kB / 445.2 MB, free: 9.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.2811, allocations: 111.7 kB / 445.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005814/0.2816, allocations: 278.4 kB / 445.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2816, allocations: 0 / 445.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.282, allocations: 213.6 kB / 445.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.2824, allocations: 52.16 kB / 445.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2836, allocations: 0.6852 MB / 446.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.284, allocations: 0.7443 MB / 447.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.748e-05/0.2841, allocations: 17.95 kB / 447.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.2841, allocations: 19.44 kB / 447.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2841, allocations: 3.938 kB / 447.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of Templates: time 0.006705/0.2908, allocations: 2.574 MB / 449.9 MB, free: 4.805 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.431222775951028]