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.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.001359/0.001359, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001586/0.001586, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 59.92 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3612, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003872/0.3651, allocations: 2.293 MB / 399.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000954/0.3661, allocations: 0.6022 MB / 399.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.3662, allocations: 7.938 kB / 399.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.3663, allocations: 40.62 kB / 399.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.3665, allocations: 89.12 kB / 399.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.3667, allocations: 57.14 kB / 399.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.367, allocations: 295.1 kB / 400.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.3672, allocations: 79.52 kB / 400.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.3674, allocations: 113.4 kB / 400.4 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.3675, allocations: 107.5 kB / 400.5 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.3676, allocations: 24.69 kB / 400.5 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.3676, allocations: 22.59 kB / 400.6 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.3677, allocations: 57.11 kB / 400.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.3678, allocations: 120.4 kB / 400.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.3682, allocations: 294.1 kB / 401 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3682, allocations: 1.312 kB / 401 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.3682, allocations: 0.75 kB / 401 MB, free: 6.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3682, allocations: 0 / 401 MB, free: 6.797 MB / 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.0007276/0.369, allocations: 482.3 kB / 401.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.369, allocations: 14.62 kB / 401.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.3691, allocations: 29.55 kB / 401.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.3693, allocations: 185.5 kB / 401.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.3694, allocations: 18.69 kB / 401.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.3694, allocations: 38.27 kB / 401.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.3699, allocations: 224.6 kB / 402 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3699, allocations: 1.938 kB / 402 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.3699, allocations: 10.41 kB / 402 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3699, allocations: 5.781 kB / 402 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.3703, allocations: 186.6 kB / 402.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.3713, allocations: 0.5859 MB / 402.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.3717, allocations: 200.5 kB / 403 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.3719, allocations: 108.5 kB / 403.1 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.372, allocations: 9.969 kB / 403.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.372, allocations: 37.06 kB / 403.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.332e-06/0.372, allocations: 0 / 403.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001487/0.3735, allocations: 0.8115 MB / 403.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3735, allocations: 58.33 kB / 404 MB, free: 4.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3736, allocations: 153.7 kB / 404.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3736, allocations: 31.5 kB / 404.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.3737, allocations: 148.8 kB / 404.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.3737, allocations: 98.69 kB / 404.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.3738, allocations: 55.8 kB / 404.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.3739, allocations: 329.8 kB / 404.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.3741, allocations: 70.77 kB / 404.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.3743, allocations: 115.6 kB / 405 MB, free: 4.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.3746, allocations: 202.7 kB / 405.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3746, allocations: 0 / 405.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004855/0.3751, allocations: 270.4 kB / 405.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3751, allocations: 6.453 kB / 405.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3752, allocations: 5.25 kB / 405.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3752, allocations: 2.531 kB / 405.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.3754, allocations: 77.55 kB / 405.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3754, allocations: 2.031 kB / 405.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.3756, allocations: 13.59 kB / 405.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.3756, allocations: 6.875 kB / 405.5 MB, free: 3.855 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.769e-05/0.3757, allocations: 141.3 kB / 405.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.3757, allocations: 20.67 kB / 405.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.3758, allocations: 22.08 kB / 405.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3758, allocations: 11.81 kB / 405.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.3758, allocations: 0 / 405.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3758, allocations: 2.266 kB / 405.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.3766, allocations: 0.5633 MB / 406.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3766, allocations: 0.8438 kB / 406.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.3769, allocations: 66.88 kB / 406.4 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3769, allocations: 5.281 kB / 406.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3769, allocations: 7.469 kB / 406.4 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3769, allocations: 2.344 kB / 406.4 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3769, allocations: 5 kB / 406.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.3775, allocations: 445.6 kB / 406.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.3775, allocations: 18.5 kB / 406.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.3776, allocations: 10.47 kB / 406.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3777, allocations: 11.92 kB / 406.9 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.3778, allocations: 28.64 kB / 406.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3778, allocations: 6.156 kB / 406.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.29e-05/0.3778, allocations: 108.2 kB / 407 MB, free: 2.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3778, allocations: 0 / 407 MB, free: 2.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.3781, allocations: 57.38 kB / 407.1 MB, free: 2.902 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 7.615e-05/0.3782, allocations: 101.1 kB / 407.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003973/0.3786, allocations: 200 kB / 407.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3786, allocations: 1.375 kB / 407.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.3788, allocations: 98.05 kB / 407.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.3792, allocations: 37.92 kB / 407.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3803, allocations: 0.8104 MB / 408.3 MB, free: 2.117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.3804, allocations: 144.6 kB / 408.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.067e-05/0.3805, allocations: 22.72 kB / 408.5 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.3805, allocations: 27.41 kB / 408.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.3805, allocations: 0 / 408.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of Templates: time 0.005683/0.3862, allocations: 2.4 MB / 410.9 MB, free: 1.266 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.880379248410463]