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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001517/0.001517, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 67.88 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2062, allocations: 50.55 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003333/0.2096, allocations: 2.426 MB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008759/0.2105, allocations: 0.6038 MB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.2106, allocations: 4 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.2108, allocations: 47.58 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.2109, allocations: 87.25 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.2111, allocations: 51.94 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.2114, allocations: 290.6 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.2116, allocations: 122.9 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2117, allocations: 111.6 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.2119, allocations: 127.5 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.212, allocations: 24 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.558e-05/0.212, allocations: 24 kB / 413.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.2121, allocations: 55.78 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.2122, allocations: 131.3 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.2125, allocations: 300.1 kB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2125, allocations: 0 / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2125, allocations: 0 / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.2125, allocations: 0 / 414.3 MB, free: 13.2 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007613/0.2133, allocations: 0.5382 MB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2133, allocations: 8.031 kB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.2134, allocations: 28.56 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.2136, allocations: 247.8 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2137, allocations: 16.94 kB / 415.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.2137, allocations: 43.97 kB / 415.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.2142, allocations: 220.9 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.2142, allocations: 4 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.2142, allocations: 8 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.2142, allocations: 11.94 kB / 415.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.2146, allocations: 174.1 kB / 415.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.2158, allocations: 0.7539 MB / 416.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.2162, allocations: 218.5 kB / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.2165, allocations: 112.8 kB / 416.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.2165, allocations: 8 kB / 416.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2165, allocations: 30.56 kB / 416.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.2165, allocations: 0 / 416.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001651/0.2182, allocations: 0.9669 MB / 417.7 MB, free: 9.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.2182, allocations: 51.41 kB / 417.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2184, allocations: 155.1 kB / 417.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.2184, allocations: 29.7 kB / 417.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.2185, allocations: 148.5 kB / 418 MB, free: 9.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/0.2186, allocations: 106.5 kB / 418.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.2186, allocations: 49.7 kB / 418.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2188, allocations: 330.8 kB / 418.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.2189, allocations: 75.95 kB / 418.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.2192, allocations: 116.3 kB / 418.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.2195, allocations: 207.3 kB / 418.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2196, allocations: 0 / 418.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004768/0.22, allocations: 261.2 kB / 419.2 MB, free: 7.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2201, allocations: 8 kB / 419.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2201, allocations: 4.094 kB / 419.2 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2201, allocations: 4 kB / 419.2 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.2204, allocations: 71.89 kB / 419.3 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.2204, allocations: 4 kB / 419.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.2205, allocations: 15.98 kB / 419.3 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2206, allocations: 8 kB / 419.3 MB, free: 7.875 MB / 334.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 0.0001183/0.2207, allocations: 141.7 kB / 419.4 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.2207, allocations: 23.75 kB / 419.4 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.2208, allocations: 30.55 kB / 419.5 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2208, allocations: 0 / 419.5 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2208, allocations: 0 / 419.5 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.2209, allocations: 88.92 kB / 419.6 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.2209, allocations: 11.94 kB / 419.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.2211, allocations: 15.92 kB / 419.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.2211, allocations: 19.97 kB / 419.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007178/0.2219, allocations: 349.6 kB / 419.9 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006955/0.2226, allocations: 0.5029 MB / 420.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001938/0.2228, allocations: 100 kB / 420.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.2229, allocations: 123.7 kB / 420.7 MB, free: 6.438 MB / 334.1 MB Notification: Performance of Backend: time 2.51e-07/0.2229, allocations: 0 / 420.7 MB, free: 6.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.2234, allocations: 206.4 kB / 420.9 MB, free: 6.23 MB / 334.1 MB Notification: Performance of SimCode: time 0.001319/0.2247, allocations: 1.204 MB / 422.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of Templates: time 0.005343/0.2301, allocations: 2.631 MB / 424.7 MB, free: 2.367 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches