Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 107.2 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 191.3 kB / 19.34 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 55.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07328/0.07444, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003382/0.07786, allocations: 2.418 MB / 378.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.07889, allocations: 0.6201 MB / 378.9 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.07903, allocations: 8 kB / 378.9 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.0792, allocations: 35.59 kB / 378.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.07937, allocations: 83.25 kB / 379 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.07954, allocations: 55.92 kB / 379 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.07985, allocations: 294.7 kB / 379.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.08006, allocations: 114.9 kB / 379.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.0802, allocations: 111.6 kB / 379.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.08037, allocations: 127.5 kB / 379.7 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.08042, allocations: 24 kB / 379.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.564e-05/0.08047, allocations: 24 kB / 379.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.08052, allocations: 51.77 kB / 379.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.08064, allocations: 143.3 kB / 379.9 MB, free: 472 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.08093, allocations: 298.9 kB / 380.2 MB, free: 172 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.08094, allocations: 0 / 380.2 MB, free: 172 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08094, allocations: 0 / 380.2 MB, free: 172 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.08095, allocations: 0 / 380.2 MB, free: 172 kB / 318.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.1465/0.2275, allocations: 0.5338 MB / 380.7 MB, free: 13.1 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2275, allocations: 8.75 kB / 380.7 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.977e-05/0.2276, allocations: 27.06 kB / 380.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.2279, allocations: 242 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2279, allocations: 19.28 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.228, allocations: 25.25 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.2284, allocations: 231.2 kB / 381.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2284, allocations: 9.141 kB / 381.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.2285, allocations: 9.594 kB / 381.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2285, allocations: 6.875 kB / 381.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.2288, allocations: 176.6 kB / 381.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.2299, allocations: 0.75 MB / 382.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.2303, allocations: 214.9 kB / 382.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.2305, allocations: 116.3 kB / 382.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2306, allocations: 11.61 kB / 382.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.2306, allocations: 41.89 kB / 382.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.2306, allocations: 0 / 382.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.00163/0.2322, allocations: 0.9527 MB / 383.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.596e-05/0.2322, allocations: 56.88 kB / 383.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.2324, allocations: 154.4 kB / 383.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.2324, allocations: 30.98 kB / 383.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.2324, allocations: 148.1 kB / 383.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.2325, allocations: 98.67 kB / 384 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.2326, allocations: 62.09 kB / 384.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.2326, allocations: 331.8 kB / 384.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2328, allocations: 70.03 kB / 384.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.233, allocations: 120.1 kB / 384.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.2333, allocations: 194 kB / 384.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2334, allocations: 8.969 kB / 384.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004339/0.2338, allocations: 267.1 kB / 385.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2338, allocations: 6.031 kB / 385.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2338, allocations: 0.9062 kB / 385.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2338, allocations: 4.203 kB / 385.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.2341, allocations: 76.78 kB / 385.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2341, allocations: 2.75 kB / 385.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.2343, allocations: 12.58 kB / 385.2 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.2343, allocations: 6.75 kB / 385.2 MB, free: 10.63 MB / 318.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 8.68e-05/0.2344, allocations: 148.7 kB / 385.3 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.2344, allocations: 17.92 kB / 385.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.2345, allocations: 27.19 kB / 385.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2345, allocations: 5.312 kB / 385.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2345, allocations: 1.156 kB / 385.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.2346, allocations: 90.27 kB / 385.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.2346, allocations: 6.938 kB / 385.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2348, allocations: 10.84 kB / 385.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.2348, allocations: 22.14 kB / 385.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006605/0.2355, allocations: 357.5 kB / 385.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006105/0.2361, allocations: 0.5086 MB / 386.3 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001771/0.2363, allocations: 93.56 kB / 386.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.15e-05/0.2364, allocations: 120.3 kB / 386.6 MB, free: 9.723 MB / 318.1 MB Notification: Performance of Backend: time 5.81e-07/0.2364, allocations: 0 / 386.6 MB, free: 9.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005139/0.2369, allocations: 206.2 kB / 386.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of SimCode: time 0.001087/0.238, allocations: 1.201 MB / 388 MB, free: 8.637 MB / 318.1 MB Notification: Performance of Templates: time 0.005998/0.244, allocations: 2.724 MB / 390.7 MB, free: 8.391 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches