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.001231/0.001231, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001385/0.001385, allocations: 162.9 kB / 24.91 MB, free: 8.766 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.9394/0.9394, allocations: 177 MB / 205.2 MB, free: 5.41 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.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.648e-05, allocations: 6.312 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002495/0.002512, allocations: 2.458 MB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003592, allocations: 0.6152 MB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.003703, allocations: 11.88 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.003836, allocations: 43.58 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.003978, allocations: 79.27 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.004121, allocations: 55.92 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.004348, allocations: 306.4 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.004489, allocations: 89.88 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.004667, allocations: 163.7 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.004789, allocations: 103.6 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.004823, allocations: 20 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.735e-05/0.00485, allocations: 24 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.00489, allocations: 59.8 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.004959, allocations: 95.77 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.005169, allocations: 187.4 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005171, allocations: 3.938 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005172, allocations: 0 / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.005176, allocations: 0 / 277.7 MB, free: 12.89 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.0004332/0.00561, allocations: 460.3 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.005643, allocations: 11.98 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.005691, allocations: 40.91 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.005908, allocations: 154 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.005927, allocations: 21.03 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.005976, allocations: 32.31 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.006269, allocations: 179.3 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.006285, allocations: 3.938 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.0063, allocations: 16 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.006306, allocations: 4 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.823e-05/0.006394, allocations: 68.55 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.007068, allocations: 476.5 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.007288, allocations: 133.5 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.00734, allocations: 52.83 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.007353, allocations: 4 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.007374, allocations: 38.56 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.452e-06/0.007375, allocations: 4 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007363/0.008112, allocations: 0.5589 MB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.008144, allocations: 55.41 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.008219, allocations: 138.6 kB / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.008234, allocations: 29.7 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.008305, allocations: 144.7 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.008374, allocations: 107.1 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.008425, allocations: 49.69 kB / 280.4 MB, free: 9.969 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.008516, allocations: 334.8 kB / 280.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.008548, allocations: 23.98 kB / 280.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.00861, allocations: 72.66 kB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.00975, allocations: 107.4 kB / 280.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.009753, allocations: 3.984 kB / 280.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002198/0.009973, allocations: 145.6 kB / 281.1 MB, free: 9.258 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.009991, allocations: 19.91 kB / 281.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.009997, allocations: 0 / 281.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.01001, allocations: 0 / 281.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.01025, allocations: 71.91 kB / 281.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.01026, allocations: 4 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.214e-05/0.01034, allocations: 15.98 kB / 281.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.01035, allocations: 8 kB / 281.2 MB, free: 9.141 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.0001011/0.01045, allocations: 125.7 kB / 281.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.0105, allocations: 23.97 kB / 281.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.01054, allocations: 29.91 kB / 281.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01054, allocations: 4 kB / 281.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.01055, allocations: 3.984 kB / 281.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01055, allocations: 0 / 281.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.01113, allocations: 385.4 kB / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.01113, allocations: 4 kB / 281.7 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.01139, allocations: 67.91 kB / 281.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.01139, allocations: 4 kB / 281.8 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.01141, allocations: 8.047 kB / 281.8 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01141, allocations: 4 kB / 281.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01141, allocations: 0 / 281.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.01174, allocations: 299.7 kB / 282.1 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.01177, allocations: 15.91 kB / 282.1 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.01179, allocations: 4 kB / 282.1 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.01187, allocations: 11.98 kB / 282.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.01192, allocations: 19.97 kB / 282.2 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.01193, allocations: 4 kB / 282.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.01197, allocations: 35.06 kB / 282.2 MB, free: 8.047 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01197, allocations: 4 kB / 282.2 MB, free: 8.043 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003056/0.01228, allocations: 60 kB / 282.3 MB, free: 7.984 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.0001328/0.01241, allocations: 84.34 kB / 282.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.01263, allocations: 108.7 kB / 282.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.01264, allocations: 0 / 282.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.01273, allocations: 68.7 kB / 282.5 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01304, allocations: 55.33 kB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.01415, allocations: 0.5684 MB / 283.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.01427, allocations: 84.66 kB / 283.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.074e-05/0.01435, allocations: 25.94 kB / 283.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.01448, allocations: 83.36 kB / 283.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01448, allocations: 0 / 283.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of Templates: time 0.005347/0.01982, allocations: 2.256 MB / 285.6 MB, free: 4.633 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6654800693504512]