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.0008181/0.0008181, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003129/0.003129, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8371/0.8371, allocations: 177 MB / 204.9 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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 1.653e-06/1.653e-06, allocations: 0 / 325.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.989e-05, allocations: 7.062 kB / 325.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003132/0.003152, allocations: 2.319 MB / 328.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009276/0.00408, allocations: 0.5882 MB / 328.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.004201, allocations: 15.94 kB / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.004338, allocations: 31.66 kB / 328.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.004497, allocations: 83.2 kB / 328.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.004663, allocations: 63.84 kB / 328.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.004952, allocations: 306.5 kB / 329.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.005134, allocations: 86.95 kB / 329.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.00532, allocations: 171.6 kB / 329.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.005447, allocations: 91.7 kB / 329.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.005492, allocations: 24 kB / 329.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.349e-05/0.005526, allocations: 24 kB / 329.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.00557, allocations: 55.81 kB / 329.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.949e-05/0.00566, allocations: 95.75 kB / 329.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.005981, allocations: 299 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005983, allocations: 0 / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005984, allocations: 0 / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.005988, allocations: 0 / 330 MB, free: 11 MB / 298.7 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.0006672/0.006655, allocations: 477.8 kB / 330.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.006692, allocations: 11.98 kB / 330.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.951e-05/0.006751, allocations: 32.75 kB / 330.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.00701, allocations: 185.9 kB / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.007032, allocations: 17.03 kB / 330.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.007082, allocations: 32.36 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.00749, allocations: 222.7 kB / 330.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.007512, allocations: 11.89 kB / 331 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.007533, allocations: 12 kB / 331 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.007541, allocations: 8 kB / 331 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.007898, allocations: 174.5 kB / 331.1 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009225/0.008821, allocations: 0.5899 MB / 331.7 MB, free: 9.156 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.009235, allocations: 209.6 kB / 331.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.009412, allocations: 104.8 kB / 332 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.00943, allocations: 8 kB / 332 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.009452, allocations: 34.56 kB / 332.1 MB, free: 8.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.009453, allocations: 0 / 332.1 MB, free: 8.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001179/0.01063, allocations: 0.8204 MB / 332.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.01066, allocations: 55.41 kB / 333 MB, free: 7.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.01074, allocations: 146.9 kB / 333.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.01075, allocations: 37.64 kB / 333.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.01081, allocations: 148.7 kB / 333.3 MB, free: 7.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.01086, allocations: 107.1 kB / 333.4 MB, free: 7.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.01091, allocations: 53.66 kB / 333.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.01099, allocations: 330.8 kB / 333.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.01109, allocations: 79.81 kB / 333.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.01121, allocations: 108.9 kB / 333.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.01156, allocations: 203.3 kB / 334.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01156, allocations: 0 / 334.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002705/0.01183, allocations: 261.4 kB / 334.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.01184, allocations: 8 kB / 334.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.01184, allocations: 0 / 334.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01186, allocations: 0 / 334.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.01201, allocations: 79.89 kB / 334.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01202, allocations: 4 kB / 334.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.01208, allocations: 11.98 kB / 334.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.01209, allocations: 8 kB / 334.5 MB, free: 6.23 MB / 298.7 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 7.687e-05/0.01217, allocations: 141.9 kB / 334.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.01219, allocations: 23.84 kB / 334.7 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.01222, allocations: 21.97 kB / 334.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01222, allocations: 4 kB / 334.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.01223, allocations: 0 / 334.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01223, allocations: 3.984 kB / 334.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.01277, allocations: 0.5622 MB / 335.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01277, allocations: 8.062 kB / 335.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.01294, allocations: 71.89 kB / 335.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01294, allocations: 0 / 335.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01295, allocations: 8 kB / 335.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01295, allocations: 0 / 335.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01295, allocations: 4 kB / 335.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.01335, allocations: 439 kB / 335.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.01336, allocations: 23.89 kB / 335.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.01338, allocations: 4.062 kB / 335.8 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.629e-05/0.01345, allocations: 12 kB / 335.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.01349, allocations: 15.95 kB / 335.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01349, allocations: 12.12 kB / 335.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.31e-05/0.01354, allocations: 103.3 kB / 335.9 MB, free: 4.711 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01354, allocations: 0 / 335.9 MB, free: 4.711 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.01372, allocations: 63.94 kB / 336 MB, free: 4.648 MB / 298.7 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 7.498e-05/0.0138, allocations: 115 kB / 336.1 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.01405, allocations: 191.8 kB / 336.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01406, allocations: 0 / 336.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01416, allocations: 95.89 kB / 336.4 MB, free: 4.246 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.01441, allocations: 43.97 kB / 336.4 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.01516, allocations: 0.7093 MB / 337.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.29e-05/0.01524, allocations: 142.5 kB / 337.3 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.01529, allocations: 20.5 kB / 337.3 MB, free: 3.27 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.01529, allocations: 0 / 337.3 MB, free: 3.27 MB / 298.7 MB Notification: Performance of Templates: time 0.003007/0.01829, allocations: 2.913 MB / 340.2 MB, free: 372 kB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.188197570852935]