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.001538/0.001538, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.001534/0.001534, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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 1.451/1.451, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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 1.643e-06/1.643e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.504e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003857/0.003882, allocations: 2.323 MB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.00501, allocations: 0.5921 MB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.005124, allocations: 4 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.005279, allocations: 35.59 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.005459, allocations: 83.27 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.005632, allocations: 59.84 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.006018, allocations: 310.4 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.006202, allocations: 79.09 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.006458, allocations: 175.6 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.006615, allocations: 87.7 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.006663, allocations: 24 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.648e-05/0.00671, allocations: 24 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.006771, allocations: 55.81 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.006903, allocations: 91.77 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.00732, allocations: 306.9 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.007324, allocations: 0 / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007325, allocations: 4 kB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.007331, allocations: 0 / 276.4 MB, free: 13.56 MB / 266.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.001218/0.008549, allocations: 473.8 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.008585, allocations: 11.98 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.008688, allocations: 48.75 kB / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.009022, allocations: 185.9 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.00905, allocations: 21.03 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/0.009112, allocations: 32.38 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.009608, allocations: 222.7 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.009634, allocations: 11.89 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.009663, allocations: 8 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.009671, allocations: 4 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.01012, allocations: 178.5 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.01135, allocations: 0.6017 MB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/0.01188, allocations: 209.1 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.01212, allocations: 108.8 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.01215, allocations: 4 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.01218, allocations: 38.55 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.01218, allocations: 0 / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001895/0.01408, allocations: 0.8127 MB / 279.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.01413, allocations: 55.41 kB / 279.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.0143, allocations: 148.5 kB / 279.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.01433, allocations: 29.7 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.01446, allocations: 148.7 kB / 279.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.01457, allocations: 111.1 kB / 279.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.01466, allocations: 53.7 kB / 279.9 MB, free: 9.887 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.01487, allocations: 330.8 kB / 280.2 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.01506, allocations: 71.95 kB / 280.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.0153, allocations: 120.7 kB / 280.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.01575, allocations: 203.3 kB / 280.6 MB, free: 9.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01575, allocations: 0 / 280.6 MB, free: 9.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005412/0.01629, allocations: 269.4 kB / 280.9 MB, free: 8.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.0163, allocations: 8 kB / 280.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01631, allocations: 0 / 280.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.01633, allocations: 7.938 kB / 280.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.01663, allocations: 71.95 kB / 280.9 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.01664, allocations: 12.03 kB / 281 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.01676, allocations: 8 kB / 281 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.01678, allocations: 8 kB / 281 MB, free: 8.762 MB / 266.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 0.0001556/0.01694, allocations: 145.8 kB / 281.1 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.017, allocations: 23.84 kB / 281.1 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.01706, allocations: 25.97 kB / 281.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.01707, allocations: 4 kB / 281.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01707, allocations: 0 / 281.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.01708, allocations: 3.984 kB / 281.2 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.01809, allocations: 0.5553 MB / 281.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.01809, allocations: 3.984 kB / 281.7 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.01843, allocations: 75.91 kB / 281.8 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.01844, allocations: 0 / 281.8 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.01846, allocations: 11.98 kB / 281.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01846, allocations: 0 / 281.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01846, allocations: 0 / 281.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.01926, allocations: 451.8 kB / 282.3 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.0193, allocations: 19.97 kB / 282.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.01933, allocations: 4 kB / 282.3 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.01947, allocations: 15.98 kB / 282.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.01954, allocations: 15.97 kB / 282.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.01956, allocations: 12.11 kB / 282.3 MB, free: 7.328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.082e-05/0.01965, allocations: 104.1 kB / 282.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01965, allocations: 4 kB / 282.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.01997, allocations: 63.94 kB / 282.5 MB, free: 7.16 MB / 266.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 0.0001308/0.0201, allocations: 103.2 kB / 282.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004659/0.02057, allocations: 195.9 kB / 282.8 MB, free: 6.859 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.02057, allocations: 0 / 282.8 MB, free: 6.859 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.02078, allocations: 108 kB / 282.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.0212, allocations: 51.91 kB / 282.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.02251, allocations: 0.6779 MB / 283.6 MB, free: 5.996 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.02293, allocations: 146.4 kB / 283.8 MB, free: 5.828 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.869e-05/0.02301, allocations: 21.94 kB / 283.8 MB, free: 5.809 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.02307, allocations: 20.5 kB / 283.8 MB, free: 5.789 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02307, allocations: 0 / 283.8 MB, free: 5.789 MB / 266.7 MB Notification: Performance of Templates: time 0.005856/0.02893, allocations: 2.117 MB / 285.9 MB, free: 3.711 MB / 266.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.325483357999474]