Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.001247/0.001247, 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.001444/0.001444, allocations: 215.6 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.541/1.541, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2964, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004028/0.3004, allocations: 2.252 MB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3017, allocations: 0.6192 MB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.3018, allocations: 11.94 kB / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.3019, allocations: 35.59 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.3021, allocations: 83.33 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.3024, allocations: 67.84 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.3028, allocations: 266.7 kB / 435.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.303, allocations: 75.03 kB / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.3032, allocations: 115.6 kB / 435.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.3034, allocations: 99.48 kB / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.3034, allocations: 20 kB / 435.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.848e-05/0.3035, allocations: 28 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.3036, allocations: 55.77 kB / 436 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.3037, allocations: 107.5 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.304, allocations: 265.8 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3041, allocations: 0 / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3041, allocations: 0 / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.3041, allocations: 0 / 436.4 MB, free: 2.621 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008121/0.3049, allocations: 473.4 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3049, allocations: 8.031 kB / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.3051, allocations: 44.73 kB / 436.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.3055, allocations: 174.9 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3055, allocations: 16.81 kB / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/0.3055, allocations: 28.31 kB / 437.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.3059, allocations: 195.6 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.3059, allocations: 4 kB / 437.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.3059, allocations: 8 kB / 437.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.306, allocations: 8 kB / 437.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.3063, allocations: 141.6 kB / 437.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009811/0.3073, allocations: 0.4979 MB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.3076, allocations: 171.7 kB / 438.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.3078, allocations: 92.86 kB / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.3078, allocations: 0 / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.3078, allocations: 38.56 kB / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 3.777e-06/0.3078, allocations: 4 kB / 438.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001998/0.3098, allocations: 0.9299 MB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.3099, allocations: 55.41 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.3101, allocations: 170.9 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3101, allocations: 29.7 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3102, allocations: 148.7 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.803e-05/0.3103, allocations: 115 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.3104, allocations: 53.7 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3106, allocations: 330.8 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.3107, allocations: 71.97 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.3109, allocations: 107.8 kB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.3113, allocations: 192.1 kB / 440.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3113, allocations: 4 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005269/0.3118, allocations: 287.3 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3118, allocations: 8 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3118, allocations: 0 / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.312, allocations: 44.77 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.3123, allocations: 55.97 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.3139, allocations: 1.618 MB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3141, allocations: 8.031 kB / 442.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.3141, allocations: 8 kB / 442.5 MB, free: 12.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.3142, allocations: 138.4 kB / 442.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.3143, allocations: 19.86 kB / 442.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.339e-05/0.3144, allocations: 34.58 kB / 442.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3144, allocations: 7.938 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3144, allocations: 4.25 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3144, allocations: 4 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.3155, allocations: 0.6758 MB / 443.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3155, allocations: 4 kB / 443.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.3158, allocations: 51.97 kB / 443.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.3159, allocations: 48.8 kB / 443.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.3159, allocations: 8 kB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.3172, allocations: 1.355 MB / 444.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.458e-05/0.3172, allocations: 3.984 kB / 444.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007581/0.318, allocations: 486.8 kB / 445.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.318, allocations: 27.92 kB / 445.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.3181, allocations: 4 kB / 445.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3182, allocations: 15.97 kB / 445.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.3183, allocations: 23.95 kB / 445.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3183, allocations: 8 kB / 445.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.3184, allocations: 124.5 kB / 445.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3184, allocations: 0 / 445.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.3188, allocations: 64 kB / 445.6 MB, free: 8.918 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.000137/0.3189, allocations: 111.2 kB / 445.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000668/0.3196, allocations: 334.6 kB / 446 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3196, allocations: 3.938 kB / 446 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.3199, allocations: 222.6 kB / 446.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.3204, allocations: 52.17 kB / 446.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.3219, allocations: 0.7588 MB / 447 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.3221, allocations: 150.7 kB / 447.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.3221, allocations: 19.44 kB / 447.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3221, allocations: 0 / 447.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of Templates: time 0.007547/0.3297, allocations: 3.968 MB / 451.2 MB, free: 3.223 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.563994169700891]