Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000877/0.000877, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.0003062, allocations: 4 kB / 306.6 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002584/0.1458, allocations: 1.952 MB / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1469, allocations: 0.6082 MB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.1471, allocations: 4 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.399e-05/0.1472, allocations: 27.77 kB / 360.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.1475, allocations: 83.8 kB / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.1477, allocations: 39.91 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.148, allocations: 215.5 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.1482, allocations: 85.73 kB / 361.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.1484, allocations: 83.7 kB / 361.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.1485, allocations: 107.5 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.1486, allocations: 16 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.806e-05/0.1486, allocations: 12 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.1487, allocations: 43.78 kB / 361.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.057e-05/0.1488, allocations: 69.58 kB / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.149, allocations: 215.6 kB / 361.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.149, allocations: 0 / 361.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.149, allocations: 0 / 361.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.149, allocations: 0 / 361.6 MB, free: 10.37 MB / 302.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.0007787/0.1498, allocations: 0.514 MB / 362.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1498, allocations: 8.031 kB / 362.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.1499, allocations: 27.72 kB / 362.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.1503, allocations: 242.2 kB / 362.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.1503, allocations: 16.56 kB / 362.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.1504, allocations: 27.94 kB / 362.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/0.1509, allocations: 228.8 kB / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.151, allocations: 11.91 kB / 362.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.151, allocations: 8 kB / 362.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.151, allocations: 8 kB / 362.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.1515, allocations: 186.1 kB / 362.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.1528, allocations: 0.7695 MB / 363.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.1533, allocations: 210.7 kB / 363.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1534, allocations: 4 kB / 363.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1534, allocations: 42.56 kB / 363.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.1534, allocations: 0 / 363.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002117/0.1555, allocations: 1.002 MB / 364.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1556, allocations: 55.41 kB / 364.9 MB, free: 6.766 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1557, allocations: 159 kB / 365.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1558, allocations: 29.7 kB / 365.1 MB, free: 6.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.1559, allocations: 148.6 kB / 365.3 MB, free: 6.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/0.1559, allocations: 98.47 kB / 365.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.1559, allocations: 4 kB / 365.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1561, allocations: 326.8 kB / 365.7 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.1563, allocations: 87.81 kB / 365.8 MB, free: 5.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1565, allocations: 115.4 kB / 365.9 MB, free: 5.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.1567, allocations: 91.98 kB / 366 MB, free: 5.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1567, allocations: 3.938 kB / 366 MB, free: 5.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005304/0.1572, allocations: 269.4 kB / 366.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.1573, allocations: 7.984 kB / 366.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.1573, allocations: 0 / 366.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1573, allocations: 7.953 kB / 366.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.1576, allocations: 71.91 kB / 366.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1576, allocations: 4 kB / 366.3 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.1578, allocations: 20.02 kB / 366.4 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.1579, allocations: 12 kB / 366.4 MB, free: 5.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.158, allocations: 133.8 kB / 366.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.158, allocations: 15.81 kB / 366.5 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.1581, allocations: 34.48 kB / 366.5 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1581, allocations: 4 kB / 366.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1581, allocations: 3.953 kB / 366.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1581, allocations: 0 / 366.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1592, allocations: 0.6677 MB / 367.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1592, allocations: 64 / 367.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.1595, allocations: 75.91 kB / 367.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1596, allocations: 4 kB / 367.3 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.1596, allocations: 8 kB / 367.3 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.1596, allocations: 7.938 kB / 367.3 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1596, allocations: 0 / 367.3 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.1604, allocations: 484.8 kB / 367.8 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.1605, allocations: 92.91 kB / 367.9 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/0.1606, allocations: 8.062 kB / 367.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1607, allocations: 12 kB / 367.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.1608, allocations: 15.97 kB / 367.9 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.1608, allocations: 8 kB / 367.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.408e-05/0.1609, allocations: 124.4 kB / 368 MB, free: 3.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1609, allocations: 0 / 368 MB, free: 3.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.1613, allocations: 60 kB / 368.1 MB, free: 3.426 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001343/0.1614, allocations: 99.25 kB / 368.2 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004706/0.1619, allocations: 215.9 kB / 368.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1619, allocations: 0 / 368.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.1621, allocations: 111.8 kB / 368.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1625, allocations: 42.25 kB / 368.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.164, allocations: 0.9987 MB / 369.6 MB, free: 1.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1643, allocations: 0.7602 MB / 370.3 MB, free: 1.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.813e-05/0.1644, allocations: 17.95 kB / 370.3 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.1644, allocations: 19.44 kB / 370.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1644, allocations: 0 / 370.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of Templates: time 0.1495/0.314, allocations: 1.902 MB / 372.3 MB, free: 18.86 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches