Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 105.5 kB / 17.59 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 187.6 kB / 18.51 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 242.2 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001098, allocations: 41.64 kB / 301.3 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/0.09515, allocations: 49.44 MB / 350.7 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004007/0.09919, allocations: 2.427 MB / 353.1 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1004, allocations: 0.5765 MB / 353.7 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.1007, allocations: 4 kB / 353.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.1009, allocations: 47.58 kB / 353.8 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.1012, allocations: 75.27 kB / 353.8 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.1014, allocations: 63.91 kB / 353.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.1017, allocations: 290.7 kB / 354.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.102, allocations: 102.9 kB / 354.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.1021, allocations: 111.6 kB / 354.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1023, allocations: 131.5 kB / 354.5 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.1024, allocations: 20 kB / 354.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.745e-05/0.1024, allocations: 24 kB / 354.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.1025, allocations: 51.84 kB / 354.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1026, allocations: 135.3 kB / 354.8 MB, free: 396 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.1029, allocations: 295.2 kB / 355 MB, free: 100 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1029, allocations: 0 / 355 MB, free: 100 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1029, allocations: 0 / 355 MB, free: 100 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1029, allocations: 0 / 355 MB, free: 100 kB / 286.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.0008589/0.1038, allocations: 0.5421 MB / 355.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1039, allocations: 8.031 kB / 355.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.1039, allocations: 32.56 kB / 355.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1042, allocations: 240.4 kB / 355.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.1043, allocations: 20.94 kB / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.1043, allocations: 28.12 kB / 355.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.1048, allocations: 228.9 kB / 356.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1048, allocations: 3.984 kB / 356.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.1048, allocations: 8 kB / 356.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1048, allocations: 8 kB / 356.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.1053, allocations: 178.1 kB / 356.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.1065, allocations: 0.7537 MB / 357.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.107, allocations: 226.4 kB / 357.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.1073, allocations: 120.2 kB / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1073, allocations: 7.938 kB / 357.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1073, allocations: 30.56 kB / 357.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.1073, allocations: 3.938 kB / 357.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001774/0.1091, allocations: 0.9694 MB / 358.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1092, allocations: 55.41 kB / 358.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1093, allocations: 158.9 kB / 358.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1094, allocations: 29.7 kB / 358.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.1095, allocations: 140.6 kB / 358.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/0.1095, allocations: 98.56 kB / 358.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/0.1096, allocations: 45.7 kB / 358.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1098, allocations: 338.8 kB / 359.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.1099, allocations: 75.95 kB / 359.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.1102, allocations: 115.2 kB / 359.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.1106, allocations: 199.3 kB / 359.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1106, allocations: 4 kB / 359.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004992/0.1111, allocations: 257.3 kB / 359.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1111, allocations: 8 kB / 359.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1111, allocations: 0 / 359.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.1112, allocations: 4 kB / 359.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.1115, allocations: 75.89 kB / 360 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1115, allocations: 4 kB / 360 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1116, allocations: 20.08 kB / 360 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.1117, allocations: 8 kB / 360 MB, free: 10.77 MB / 302.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.0001325/0.1118, allocations: 150 kB / 360.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.1118, allocations: 15.81 kB / 360.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.657e-05/0.1119, allocations: 26.56 kB / 360.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1119, allocations: 3.938 kB / 360.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1119, allocations: 4 kB / 360.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.112, allocations: 3.984 kB / 360.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009625/0.1129, allocations: 0.6521 MB / 360.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1129, allocations: 0 / 360.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.1133, allocations: 71.89 kB / 361 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1133, allocations: 4.062 kB / 361 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.1133, allocations: 8 kB / 361 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1133, allocations: 7.938 kB / 361 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1133, allocations: 0 / 361 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007149/0.1141, allocations: 449.3 kB / 361.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1141, allocations: 96.98 kB / 361.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.1142, allocations: 4 kB / 361.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1143, allocations: 15.92 kB / 361.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.1144, allocations: 15.98 kB / 361.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1144, allocations: 11.98 kB / 361.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.711e-05/0.1145, allocations: 124.3 kB / 361.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1145, allocations: 0 / 361.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.1148, allocations: 60 kB / 361.7 MB, free: 8.957 MB / 302.1 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.0001252/0.115, allocations: 107.7 kB / 361.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005015/0.1155, allocations: 212 kB / 362 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1155, allocations: 0 / 362 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.1157, allocations: 112.1 kB / 362.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.1162, allocations: 49.83 kB / 362.2 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.1177, allocations: 0.8364 MB / 363 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1181, allocations: 0.7522 MB / 363.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.1182, allocations: 19.44 kB / 363.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1182, allocations: 0 / 363.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of Templates: time 0.005134/0.1233, allocations: 2.769 MB / 366.6 MB, free: 4.043 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches