Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 214.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 258.2 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 48.06 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3005, allocations: 53.37 MB / 432.3 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003917/0.3044, allocations: 2.244 MB / 434.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3057, allocations: 0.6271 MB / 435.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.3058, allocations: 7.938 kB / 435.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.3059, allocations: 35.59 kB / 435.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.3061, allocations: 71.41 kB / 435.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.3063, allocations: 67.86 kB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.3067, allocations: 254.8 kB / 435.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.3068, allocations: 69.05 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.3071, allocations: 111.6 kB / 435.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.3072, allocations: 91.48 kB / 435.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.3072, allocations: 23.94 kB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.16e-05/0.3073, allocations: 28 kB / 435.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.3074, allocations: 47.83 kB / 436 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3075, allocations: 99.53 kB / 436.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.3079, allocations: 254.1 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3079, allocations: 0 / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3079, allocations: 0 / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3079, allocations: 0 / 436.3 MB, free: 2.848 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.0007521/0.3086, allocations: 453.5 kB / 436.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3087, allocations: 12.03 kB / 436.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.3088, allocations: 32.78 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.3092, allocations: 186.8 kB / 437 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3092, allocations: 12.81 kB / 437 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.3092, allocations: 24.38 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.3096, allocations: 210.2 kB / 437.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.3096, allocations: 7.891 kB / 437.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.3097, allocations: 12 kB / 437.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3097, allocations: 4 kB / 437.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.31, allocations: 125.7 kB / 437.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.311, allocations: 0.5921 MB / 438 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.3113, allocations: 142.5 kB / 438.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.3114, allocations: 63.58 kB / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3114, allocations: 0 / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3114, allocations: 38.56 kB / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.032e-06/0.3114, allocations: 0 / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001551/0.313, allocations: 0.738 MB / 439 MB, free: 48 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.3131, allocations: 59.34 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3132, allocations: 167 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3133, allocations: 29.7 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3134, allocations: 148.3 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.3135, allocations: 83.28 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.3135, allocations: 57.64 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3137, allocations: 330.8 kB / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3138, allocations: 55.97 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.314, allocations: 105.3 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.3143, allocations: 164.2 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3143, allocations: 0 / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004739/0.3148, allocations: 254.1 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3148, allocations: 8 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3148, allocations: 3.984 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.3149, allocations: 28.84 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.3152, allocations: 55.91 kB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.3165, allocations: 1.354 MB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3166, allocations: 16.09 kB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3167, allocations: 4 kB / 441.9 MB, free: 12.96 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.0001531/0.3168, allocations: 141.7 kB / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.3169, allocations: 19.86 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.3169, allocations: 25.95 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3169, allocations: 4 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3169, allocations: 0 / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3169, allocations: 3.938 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009427/0.3179, allocations: 0.5638 MB / 442.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.3179, allocations: 7.984 kB / 442.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.3181, allocations: 39.92 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.3182, allocations: 32.83 kB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3182, allocations: 8 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.3195, allocations: 1.355 MB / 444 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3195, allocations: 3.938 kB / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.3202, allocations: 405.8 kB / 444.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.3202, allocations: 19.8 kB / 444.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.3202, allocations: 12.03 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3203, allocations: 8 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.3204, allocations: 20.03 kB / 444.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.3204, allocations: 12 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.3205, allocations: 123.2 kB / 444.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3205, allocations: 0 / 444.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000344/0.3209, allocations: 63.94 kB / 444.7 MB, free: 9.922 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.0001419/0.321, allocations: 103.2 kB / 444.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005751/0.3216, allocations: 286.5 kB / 445.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3216, allocations: 0 / 445.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.3219, allocations: 208.3 kB / 445.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3223, allocations: 40.19 kB / 445.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.3237, allocations: 0.7133 MB / 446 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.3239, allocations: 142.5 kB / 446.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.324, allocations: 19.44 kB / 446.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.324, allocations: 0 / 446.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of Templates: time 0.006362/0.3303, allocations: 3.603 MB / 449.8 MB, free: 4.734 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.659417998045683]