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.001121/0.001121, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.00118/0.00118, allocations: 198 kB / 18.07 MB, free: 5.434 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.545/1.545, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001154/0.001155, allocations: 43.94 kB / 280 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1243, allocations: 46.64 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004189/0.1286, allocations: 2.457 MB / 329.1 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1298, allocations: 0.6203 MB / 329.7 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1299, allocations: 4 kB / 329.7 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1301, allocations: 23.78 kB / 329.7 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.1303, allocations: 75.44 kB / 329.8 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.1305, allocations: 59.84 kB / 329.8 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.1308, allocations: 278.7 kB / 330.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.131, allocations: 91.48 kB / 330.2 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1311, allocations: 103.6 kB / 330.3 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1313, allocations: 115.5 kB / 330.4 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.1313, allocations: 16 kB / 330.4 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.1314, allocations: 20 kB / 330.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.1314, allocations: 51.77 kB / 330.5 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1316, allocations: 123.4 kB / 330.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.1318, allocations: 279.2 kB / 330.9 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1319, allocations: 3.938 kB / 330.9 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1319, allocations: 0 / 330.9 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1319, allocations: 3.938 kB / 330.9 MB, free: 0.5664 MB / 270.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.0008279/0.1327, allocations: 0.5383 MB / 331.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1328, allocations: 8.031 kB / 331.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.1328, allocations: 32.55 kB / 331.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1331, allocations: 236.5 kB / 331.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1331, allocations: 16.94 kB / 331.7 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/0.1332, allocations: 36.02 kB / 331.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.1337, allocations: 224.9 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.1337, allocations: 7.984 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.1338, allocations: 8 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.1338, allocations: 12 kB / 332 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004149/0.1342, allocations: 170.1 kB / 332.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.1354, allocations: 0.7655 MB / 332.9 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.136, allocations: 222.5 kB / 333.2 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.1362, allocations: 112.8 kB / 333.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1362, allocations: 0 / 333.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1363, allocations: 38.56 kB / 333.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.012e-06/0.1363, allocations: 0 / 333.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001755/0.138, allocations: 0.9535 MB / 334.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.1381, allocations: 59.34 kB / 334.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1382, allocations: 159.1 kB / 334.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1383, allocations: 25.7 kB / 334.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1384, allocations: 152.5 kB / 334.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/0.1384, allocations: 102.5 kB / 334.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.1385, allocations: 49.7 kB / 334.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1387, allocations: 330.8 kB / 335.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.1388, allocations: 71.95 kB / 335.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.139, allocations: 115.2 kB / 335.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.1394, allocations: 211.3 kB / 335.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1394, allocations: 0 / 335.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004714/0.1399, allocations: 257.3 kB / 335.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1399, allocations: 7.984 kB / 335.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1399, allocations: 4 kB / 335.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.14, allocations: 3.938 kB / 335.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.1403, allocations: 75.91 kB / 335.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1403, allocations: 0 / 335.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.1404, allocations: 15.98 kB / 335.9 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1404, allocations: 12 kB / 335.9 MB, free: 11.25 MB / 286.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.0001991/0.1406, allocations: 145.7 kB / 336 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.1407, allocations: 19.81 kB / 336 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.1408, allocations: 26.55 kB / 336.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1408, allocations: 4 kB / 336.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.1408, allocations: 0 / 336.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1408, allocations: 0 / 336.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1418, allocations: 0.652 MB / 336.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.1418, allocations: 4 kB / 336.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.1422, allocations: 75.89 kB / 336.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1423, allocations: 0 / 336.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.1423, allocations: 8 kB / 336.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.1423, allocations: 3.938 kB / 336.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1423, allocations: 0 / 336.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.143, allocations: 444.2 kB / 337.2 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1431, allocations: 96.81 kB / 337.3 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.1431, allocations: 8.062 kB / 337.3 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1433, allocations: 15.94 kB / 337.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.1434, allocations: 20.09 kB / 337.4 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1434, allocations: 15.98 kB / 337.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.029e-05/0.1435, allocations: 115.2 kB / 337.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1435, allocations: 0 / 337.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.1438, allocations: 60 kB / 337.6 MB, free: 9.449 MB / 286.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.0001291/0.1439, allocations: 103.2 kB / 337.7 MB, free: 9.336 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.1444, allocations: 199.8 kB / 337.9 MB, free: 9.141 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1444, allocations: 3.938 kB / 337.9 MB, free: 9.137 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.1446, allocations: 103.9 kB / 338 MB, free: 9.035 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.1452, allocations: 39.91 kB / 338 MB, free: 8.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1467, allocations: 0.9225 MB / 338.9 MB, free: 8.043 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1471, allocations: 0.7525 MB / 339.7 MB, free: 7.266 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.696e-05/0.1472, allocations: 25.92 kB / 339.7 MB, free: 7.238 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.1472, allocations: 19.44 kB / 339.7 MB, free: 7.219 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1472, allocations: 0 / 339.7 MB, free: 7.219 MB / 286.1 MB Notification: Performance of Templates: time 0.005415/0.1527, allocations: 2.001 MB / 341.7 MB, free: 5.223 MB / 286.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches