Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001852/0.001852, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.002265/0.002265, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.504/1.504, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 72.02 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1067, allocations: 53.32 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003939/0.1107, allocations: 2.445 MB / 430.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1118, allocations: 0.6116 MB / 430.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1119, allocations: 7.938 kB / 430.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.1121, allocations: 39.59 kB / 430.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.1123, allocations: 83.33 kB / 431 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.1124, allocations: 59.86 kB / 431.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.1128, allocations: 298.6 kB / 431.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.113, allocations: 78.95 kB / 431.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1131, allocations: 111.6 kB / 431.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1133, allocations: 123.5 kB / 431.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/0.1134, allocations: 24 kB / 431.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.573e-05/0.1134, allocations: 24 kB / 431.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.1135, allocations: 55.83 kB / 431.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.1136, allocations: 135.3 kB / 431.9 MB, free: 404 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.114, allocations: 302.7 kB / 432.2 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.114, allocations: 0 / 432.2 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.114, allocations: 0 / 432.2 MB, free: 100 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.114, allocations: 0 / 432.2 MB, free: 100 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.2032/0.3172, allocations: 0.5332 MB / 432.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3173, allocations: 11.34 kB / 432.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.3173, allocations: 30.03 kB / 432.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.3177, allocations: 242.5 kB / 433 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3177, allocations: 22 kB / 433 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.3178, allocations: 26.25 kB / 433.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.3182, allocations: 230.1 kB / 433.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.3183, allocations: 9.172 kB / 433.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.3183, allocations: 10.59 kB / 433.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.3183, allocations: 7.5 kB / 433.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.3187, allocations: 173 kB / 433.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.3198, allocations: 0.758 MB / 434.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.3202, allocations: 204.9 kB / 434.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.3204, allocations: 106 kB / 434.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.3204, allocations: 10.84 kB / 434.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.3205, allocations: 36.5 kB / 434.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.3205, allocations: 0 / 434.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001605/0.3221, allocations: 0.9668 MB / 435.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.3221, allocations: 55.22 kB / 435.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3222, allocations: 155.9 kB / 435.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3222, allocations: 33.77 kB / 435.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.3223, allocations: 144.5 kB / 435.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.3223, allocations: 109.4 kB / 436 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.3224, allocations: 50.84 kB / 436.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.3225, allocations: 329.4 kB / 436.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.3226, allocations: 72.8 kB / 436.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.3228, allocations: 116.8 kB / 436.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.3232, allocations: 208.6 kB / 436.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3232, allocations: 0.625 kB / 436.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004574/0.3236, allocations: 268.6 kB / 437.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3236, allocations: 4.594 kB / 437.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3237, allocations: 1.812 kB / 437.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3237, allocations: 2.125 kB / 437.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.324, allocations: 74.95 kB / 437.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.324, allocations: 2.312 kB / 437.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.3241, allocations: 12.78 kB / 437.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3241, allocations: 13.78 kB / 437.2 MB, free: 9.254 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * 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 9.093e-05/0.3242, allocations: 139 kB / 437.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.3242, allocations: 21.08 kB / 437.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.3243, allocations: 29.36 kB / 437.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3243, allocations: 7.438 kB / 437.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3243, allocations: 0 / 437.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.3243, allocations: 5.094 kB / 437.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008545/0.3252, allocations: 0.6575 MB / 438 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3252, allocations: 1.734 kB / 438 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.3255, allocations: 70.5 kB / 438.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3255, allocations: 4.391 kB / 438.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3255, allocations: 6.75 kB / 438.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3255, allocations: 1.281 kB / 438.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3255, allocations: 9.969 kB / 438.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.3262, allocations: 448.9 kB / 438.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.3262, allocations: 96.02 kB / 438.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.3262, allocations: 7.891 kB / 438.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3264, allocations: 7.75 kB / 438.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.3264, allocations: 23.83 kB / 438.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3265, allocations: 10.44 kB / 438.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.553e-05/0.3265, allocations: 112.3 kB / 438.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3265, allocations: 5.094 kB / 438.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.3268, allocations: 58.3 kB / 438.9 MB, free: 8.152 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.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 (28): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.3269, allocations: 106.2 kB / 439 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.3274, allocations: 192.2 kB / 439.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3274, allocations: 1 kB / 439.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.3276, allocations: 99.23 kB / 439.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.328, allocations: 39.83 kB / 439.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.3292, allocations: 0.851 MB / 440.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.3294, allocations: 0.7561 MB / 440.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.3295, allocations: 21.47 kB / 440.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3295, allocations: 1.312 kB / 440.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of Templates: time 0.005782/0.3353, allocations: 2.82 MB / 443.7 MB, free: 6.375 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.194267641054466]