Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.613/1.613, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005012, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1093, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004628/0.114, allocations: 1.899 MB / 274.5 MB, free: 9.613 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1158, allocations: 0.5812 MB / 275.1 MB, free: 9.031 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.116, allocations: 4 kB / 275.1 MB, free: 9.027 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.19e-05/0.1161, allocations: 27.78 kB / 275.1 MB, free: 9 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.1165, allocations: 87.73 kB / 275.2 MB, free: 8.914 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1168, allocations: 43.94 kB / 275.3 MB, free: 8.871 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.1173, allocations: 203.6 kB / 275.5 MB, free: 8.672 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.1176, allocations: 93.64 kB / 275.6 MB, free: 8.582 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1179, allocations: 83.66 kB / 275.6 MB, free: 8.5 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.1181, allocations: 111.5 kB / 275.8 MB, free: 8.391 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.1182, allocations: 19.94 kB / 275.8 MB, free: 8.371 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.721e-05/0.1183, allocations: 12 kB / 275.8 MB, free: 8.359 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.1184, allocations: 39.84 kB / 275.8 MB, free: 8.32 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1186, allocations: 69.58 kB / 275.9 MB, free: 8.246 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.119, allocations: 215.6 kB / 276.1 MB, free: 8.035 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.119, allocations: 0 / 276.1 MB, free: 8.035 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1191, allocations: 4 kB / 276.1 MB, free: 8.031 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1191, allocations: 0 / 276.1 MB, free: 8.031 MB / 234.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.00134/0.1204, allocations: 0.5067 MB / 276.6 MB, free: 7.473 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.1205, allocations: 8.031 kB / 276.6 MB, free: 7.465 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.1206, allocations: 27.72 kB / 276.6 MB, free: 7.438 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.1211, allocations: 227.3 kB / 276.9 MB, free: 7.176 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.1212, allocations: 24.52 kB / 276.9 MB, free: 7.152 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.1213, allocations: 24 kB / 276.9 MB, free: 7.129 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009769/0.1223, allocations: 228.8 kB / 277.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.1223, allocations: 7.906 kB / 277.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.578e-05/0.1224, allocations: 8 kB / 277.2 MB, free: 6.883 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.1225, allocations: 8 kB / 277.2 MB, free: 6.875 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009979/0.1235, allocations: 186.1 kB / 277.3 MB, free: 6.695 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.126, allocations: 0.7773 MB / 278.1 MB, free: 5.859 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.127, allocations: 214.8 kB / 278.3 MB, free: 5.641 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.1271, allocations: 4 kB / 278.3 MB, free: 5.637 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.1272, allocations: 34.56 kB / 278.4 MB, free: 5.594 MB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 3.126e-06/0.1272, allocations: 7.938 kB / 278.4 MB, free: 5.586 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.003758/0.131, allocations: 0.9866 MB / 279.4 MB, free: 4.512 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.131, allocations: 59.41 kB / 279.4 MB, free: 4.441 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.1313, allocations: 150.7 kB / 279.6 MB, free: 4.281 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.1314, allocations: 29.7 kB / 279.6 MB, free: 4.246 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.1315, allocations: 148.5 kB / 279.7 MB, free: 4.098 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.1317, allocations: 98.47 kB / 279.8 MB, free: 4 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.1317, allocations: 4 kB / 279.8 MB, free: 3.996 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.132, allocations: 330.8 kB / 280.2 MB, free: 3.664 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.1324, allocations: 87.89 kB / 280.3 MB, free: 3.578 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005051/0.1329, allocations: 115.3 kB / 280.4 MB, free: 3.453 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/0.1335, allocations: 99.97 kB / 280.5 MB, free: 3.355 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1335, allocations: 0 / 280.5 MB, free: 3.355 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001222/0.1347, allocations: 265.4 kB / 280.7 MB, free: 3.09 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.1348, allocations: 8.094 kB / 280.7 MB, free: 3.082 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1348, allocations: 3.953 kB / 280.7 MB, free: 3.078 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1348, allocations: 4 kB / 280.7 MB, free: 3.074 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.1356, allocations: 79.83 kB / 280.8 MB, free: 2.996 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.1357, allocations: 4 kB / 280.8 MB, free: 2.992 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.136, allocations: 15.98 kB / 280.8 MB, free: 2.977 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.136, allocations: 8 kB / 280.8 MB, free: 2.969 MB / 234.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002324/0.1363, allocations: 141.8 kB / 281 MB, free: 2.82 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.1364, allocations: 15.81 kB / 281 MB, free: 2.805 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1365, allocations: 26.56 kB / 281 MB, free: 2.777 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.1366, allocations: 7.938 kB / 281 MB, free: 2.77 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.1366, allocations: 4 kB / 281 MB, free: 2.766 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1367, allocations: 92.83 kB / 281.1 MB, free: 2.656 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.1368, allocations: 8 kB / 281.1 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.1372, allocations: 19.98 kB / 281.2 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.507e-05/0.1373, allocations: 23.91 kB / 281.2 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00184/0.1391, allocations: 362 kB / 281.5 MB, free: 2.246 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001749/0.1409, allocations: 0.5226 MB / 282.1 MB, free: 1.707 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004809/0.1414, allocations: 103.9 kB / 282.2 MB, free: 1.605 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.1416, allocations: 119.2 kB / 282.3 MB, free: 1.488 MB / 234.7 MB Notification: Performance of Backend: time 9.32e-07/0.1416, allocations: 0 / 282.3 MB, free: 1.488 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0009759/0.1426, allocations: 207.9 kB / 282.5 MB, free: 1.281 MB / 234.7 MB Notification: Performance of SimCode: time 0.003151/0.1458, allocations: 1.383 MB / 283.9 MB, free: 15.85 MB / 250.7 MB Notification: Performance of Templates: time 0.008227/0.154, allocations: 2.246 MB / 286.1 MB, free: 13.61 MB / 250.7 MB "" Variables in the reference:time,load.phi,load.w,shaft.phi,shaft.w,springDamper.phi_rel,springDamper.w_rel Variables in the result:fixed.flange.phi,fixed.phi0,housing.J,idealGear.ratio,load.J,load.phi,load.w,ramp.duration,ramp.height,ramp.offset,ramp.startTime,shaft.J,shaft.phi,shaft.w,spring.c,spring.phi_rel0,springDamper.c,springDamper.d,springDamper.flange_a.phi,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.w_rel,time,torque.phi_support,torque.support.phi