Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001539/0.001539, allocations: 100.3 kB / 18.39 MB, free: 4.66 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.001653/0.001653, allocations: 188.2 kB / 19.33 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 51.94 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09677, allocations: 46.61 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004108/0.1009, allocations: 2.42 MB / 378.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1024, allocations: 0.624 MB / 378.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.1027, allocations: 4 kB / 378.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.1029, allocations: 35.59 kB / 378.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.1032, allocations: 83.25 kB / 379 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.1034, allocations: 59.92 kB / 379 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.1038, allocations: 290.7 kB / 379.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.104, allocations: 114.9 kB / 379.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1041, allocations: 111.6 kB / 379.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.1043, allocations: 123.5 kB / 379.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.1044, allocations: 24 kB / 379.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-05/0.1044, allocations: 24 kB / 379.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.1045, allocations: 55.78 kB / 379.8 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1046, allocations: 135.3 kB / 379.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.105, allocations: 302.9 kB / 380.2 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.105, allocations: 0 / 380.2 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.105, allocations: 4 kB / 380.2 MB, free: 204 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.105, allocations: 0 / 380.2 MB, free: 204 kB / 318.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.1925/0.2976, allocations: 0.5313 MB / 380.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2976, allocations: 9.625 kB / 380.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.2977, allocations: 28.03 kB / 380.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.298, allocations: 241.2 kB / 381 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.2981, allocations: 23.78 kB / 381 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.2981, allocations: 27.31 kB / 381 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.2986, allocations: 228 kB / 381.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.2986, allocations: 6.422 kB / 381.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.2987, allocations: 12.62 kB / 381.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2987, allocations: 7.344 kB / 381.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.2991, allocations: 173.3 kB / 381.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3001, allocations: 0.7514 MB / 382.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.3006, allocations: 216 kB / 382.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.3008, allocations: 119.2 kB / 382.5 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3008, allocations: 11.7 kB / 382.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.3008, allocations: 40.95 kB / 382.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.3008, allocations: 0 / 382.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001728/0.3026, allocations: 0.9488 MB / 383.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.3026, allocations: 54.59 kB / 383.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3028, allocations: 157.7 kB / 383.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.3028, allocations: 33.58 kB / 383.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.3029, allocations: 148.4 kB / 383.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.3029, allocations: 96.3 kB / 384 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.303, allocations: 58.52 kB / 384.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.3031, allocations: 329.8 kB / 384.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.3032, allocations: 74.17 kB / 384.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.3034, allocations: 118.4 kB / 384.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.3038, allocations: 202.3 kB / 384.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3038, allocations: 0 / 384.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004495/0.3043, allocations: 263.6 kB / 385 MB, free: 10.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3043, allocations: 10.17 kB / 385 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.86e-06/0.3043, allocations: 1.344 kB / 385 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3043, allocations: 2.219 kB / 385.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.3046, allocations: 80.84 kB / 385.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3046, allocations: 3.625 kB / 385.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3047, allocations: 12.38 kB / 385.1 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3048, allocations: 7.875 kB / 385.2 MB, free: 10.61 MB / 318.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 9.791e-05/0.3049, allocations: 143.9 kB / 385.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.3049, allocations: 21.28 kB / 385.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.305, allocations: 27.31 kB / 385.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.305, allocations: 7.344 kB / 385.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.305, allocations: 0 / 385.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.305, allocations: 0.9844 kB / 385.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009206/0.3059, allocations: 0.6518 MB / 386 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.306, allocations: 0 / 386 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.3063, allocations: 76.91 kB / 386.1 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.3063, allocations: 1.281 kB / 386.1 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3063, allocations: 7.484 kB / 386.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3063, allocations: 1.344 kB / 386.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3063, allocations: 5.812 kB / 386.1 MB, free: 9.977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006521/0.307, allocations: 450.4 kB / 386.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.3071, allocations: 92.03 kB / 386.6 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.3071, allocations: 13.61 kB / 386.6 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3072, allocations: 15.45 kB / 386.7 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.3073, allocations: 18.33 kB / 386.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3073, allocations: 14.45 kB / 386.7 MB, free: 9.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.144e-05/0.3074, allocations: 117.7 kB / 386.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3074, allocations: 0 / 386.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.3077, allocations: 57.72 kB / 386.9 MB, free: 9.488 MB / 318.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 9.594e-05/0.3078, allocations: 111.1 kB / 387 MB, free: 9.383 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004373/0.3083, allocations: 199.5 kB / 387.2 MB, free: 9.328 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3083, allocations: 0 / 387.2 MB, free: 9.328 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.3085, allocations: 110.1 kB / 387.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.3089, allocations: 36.52 kB / 387.3 MB, free: 9.281 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.3102, allocations: 0.8342 MB / 388.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.3104, allocations: 0.7514 MB / 388.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.3105, allocations: 25.94 kB / 388.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3105, allocations: 0 / 388.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of Templates: time 0.005478/0.316, allocations: 2.834 MB / 391.7 MB, free: 7.684 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches