Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003141/0.003141, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8254/0.8254, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.354e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003474/0.003498, allocations: 2.324 MB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.004804, allocations: 0.5959 MB / 328.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.004934, allocations: 4 kB / 328.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.00509, allocations: 39.58 kB / 328.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.005273, allocations: 87.27 kB / 328.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.005481, allocations: 51.92 kB / 328.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.005793, allocations: 314.4 kB / 329.2 MB, free: 12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.005996, allocations: 91.12 kB / 329.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.00618, allocations: 167.7 kB / 329.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.646e-05/0.006276, allocations: 87.7 kB / 329.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.006312, allocations: 24 kB / 329.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.401e-05/0.006336, allocations: 24 kB / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.006372, allocations: 59.8 kB / 329.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.006432, allocations: 95.77 kB / 329.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.006667, allocations: 295 kB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006669, allocations: 0 / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.00667, allocations: 0 / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.006674, allocations: 0 / 330 MB, free: 11.18 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.0005383/0.007213, allocations: 484.6 kB / 330.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.007245, allocations: 8.031 kB / 330.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.007288, allocations: 28.75 kB / 330.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.007495, allocations: 186 kB / 330.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.007511, allocations: 17.03 kB / 330.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.007548, allocations: 28.38 kB / 330.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.007838, allocations: 226.6 kB / 331 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.007856, allocations: 11.89 kB / 331 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.007873, allocations: 8 kB / 331 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.007879, allocations: 8 kB / 331 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.008107, allocations: 178.5 kB / 331.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.009061, allocations: 0.5944 MB / 331.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.009383, allocations: 202.6 kB / 332 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.009504, allocations: 104.8 kB / 332.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.009519, allocations: 4 kB / 332.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.009535, allocations: 38.5 kB / 332.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.009537, allocations: 0 / 332.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009863/0.01052, allocations: 0.8064 MB / 332.9 MB, free: 8.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.01055, allocations: 59.41 kB / 333 MB, free: 8.043 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.01063, allocations: 140.8 kB / 333.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.01065, allocations: 37.7 kB / 333.2 MB, free: 7.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.01071, allocations: 148.7 kB / 333.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.01076, allocations: 107.1 kB / 333.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.01081, allocations: 53.7 kB / 333.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.01088, allocations: 326.8 kB / 333.8 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.01098, allocations: 75.81 kB / 333.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.0111, allocations: 115.9 kB / 334 MB, free: 7.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.01131, allocations: 203.4 kB / 334.2 MB, free: 6.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01131, allocations: 3.938 kB / 334.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000266/0.01158, allocations: 257.3 kB / 334.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01159, allocations: 4 kB / 334.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.0116, allocations: 4 kB / 334.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.01161, allocations: 4.094 kB / 334.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.01176, allocations: 79.89 kB / 334.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.01177, allocations: 0 / 334.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.01182, allocations: 15.98 kB / 334.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.01183, allocations: 8 kB / 334.6 MB, free: 6.426 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.787e-05/0.01191, allocations: 137.8 kB / 334.7 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.01193, allocations: 19.84 kB / 334.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.01197, allocations: 29.95 kB / 334.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01198, allocations: 8 kB / 334.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01198, allocations: 0 / 334.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01198, allocations: 0 / 334.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.0125, allocations: 0.5622 MB / 335.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.0125, allocations: 4 kB / 335.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.01267, allocations: 75.89 kB / 335.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01267, allocations: 0 / 335.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.01268, allocations: 12.06 kB / 335.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01268, allocations: 0 / 335.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01268, allocations: 0 / 335.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.01307, allocations: 446.7 kB / 335.8 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.01308, allocations: 15.84 kB / 335.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.0131, allocations: 8.062 kB / 335.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.01316, allocations: 11.98 kB / 335.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.0132, allocations: 19.91 kB / 335.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-06/0.01321, allocations: 16 kB / 335.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.523e-05/0.01326, allocations: 111.3 kB / 336 MB, free: 4.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01326, allocations: 0 / 336 MB, free: 4.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001936/0.01345, allocations: 63.94 kB / 336.1 MB, free: 4.828 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.471e-05/0.01352, allocations: 99.25 kB / 336.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.01378, allocations: 187.8 kB / 336.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01378, allocations: 4.188 kB / 336.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.01388, allocations: 99.83 kB / 336.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.01414, allocations: 39.97 kB / 336.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.0149, allocations: 0.7108 MB / 337.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.316e-05/0.015, allocations: 146.5 kB / 337.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.01504, allocations: 20.5 kB / 337.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01504, allocations: 0 / 337.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of Templates: time 0.003219/0.01826, allocations: 2.91 MB / 340.3 MB, free: 0.5586 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.251135473139584]