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.001715/0.001715, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002084/0.002085, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001952, allocations: 60.03 kB / 308.4 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1253, allocations: 50.53 MB / 358.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004313/0.1297, allocations: 2.431 MB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1309, allocations: 0.6155 MB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.131, allocations: 7.938 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.1312, allocations: 35.59 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.1314, allocations: 79.31 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.1316, allocations: 63.92 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.1319, allocations: 298.6 kB / 362.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1321, allocations: 110.8 kB / 362.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1323, allocations: 111.6 kB / 362.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1324, allocations: 127.5 kB / 362.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.1325, allocations: 24 kB / 362.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.1325, allocations: 24 kB / 362.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.1326, allocations: 47.84 kB / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.1327, allocations: 143.3 kB / 363 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.133, allocations: 291 kB / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.133, allocations: 0 / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.133, allocations: 0 / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1331, allocations: 0 / 363.3 MB, free: 8.984 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.0007428/0.1338, allocations: 0.5381 MB / 363.8 MB, free: 8.398 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1338, allocations: 12.03 kB / 363.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.1339, allocations: 28.66 kB / 363.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.1342, allocations: 247.4 kB / 364.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.1342, allocations: 24.88 kB / 364.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.1343, allocations: 36.06 kB / 364.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.1347, allocations: 220.9 kB / 364.4 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.1348, allocations: 11.89 kB / 364.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.1348, allocations: 12 kB / 364.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1348, allocations: 8 kB / 364.4 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.1352, allocations: 170.1 kB / 364.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.1363, allocations: 0.75 MB / 365.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.1368, allocations: 218.5 kB / 365.5 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.137, allocations: 105.9 kB / 365.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1371, allocations: 7.938 kB / 365.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1371, allocations: 38.55 kB / 365.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.1371, allocations: 0 / 365.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001605/0.1387, allocations: 0.965 MB / 366.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1388, allocations: 55.41 kB / 366.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1389, allocations: 162.6 kB / 366.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1389, allocations: 33.7 kB / 366.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.139, allocations: 136.6 kB / 367 MB, free: 4.938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.1391, allocations: 98.55 kB / 367.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.1392, allocations: 57.56 kB / 367.2 MB, free: 4.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1393, allocations: 338.7 kB / 367.5 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.1395, allocations: 71.97 kB / 367.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.1397, allocations: 112.3 kB / 367.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.1401, allocations: 199.3 kB / 367.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1401, allocations: 0 / 367.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004819/0.1406, allocations: 265.3 kB / 368.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1407, allocations: 4 kB / 368.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1407, allocations: 0 / 368.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1407, allocations: 4 kB / 368.1 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.141, allocations: 71.91 kB / 368.2 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.141, allocations: 7.984 kB / 368.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.1412, allocations: 16.09 kB / 368.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.1412, allocations: 8 kB / 368.2 MB, free: 3.664 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.1413, allocations: 149.6 kB / 368.4 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.1414, allocations: 19.8 kB / 368.4 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.1415, allocations: 26.56 kB / 368.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1415, allocations: 4 kB / 368.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1415, allocations: 0 / 368.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1415, allocations: 0 / 368.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009182/0.1424, allocations: 0.6563 MB / 369.1 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1424, allocations: 4 kB / 369.1 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.1428, allocations: 71.89 kB / 369.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1428, allocations: 4 kB / 369.2 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.1428, allocations: 4 kB / 369.2 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.1428, allocations: 15.98 kB / 369.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1428, allocations: 0 / 369.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.1434, allocations: 439.4 kB / 369.6 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.1435, allocations: 96.91 kB / 369.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.1435, allocations: 8.062 kB / 369.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.1437, allocations: 15.94 kB / 369.7 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.1438, allocations: 19.97 kB / 369.8 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1438, allocations: 4 kB / 369.8 MB, free: 2.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.119e-05/0.1439, allocations: 123.5 kB / 369.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1439, allocations: 0 / 369.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.1442, allocations: 56 kB / 369.9 MB, free: 1.855 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 (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.0001142/0.1443, allocations: 107.2 kB / 370 MB, free: 1.738 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000415/0.1447, allocations: 203.8 kB / 370.2 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1447, allocations: 0 / 370.2 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.1449, allocations: 108.9 kB / 370.3 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1453, allocations: 42.69 kB / 370.4 MB, free: 1.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1466, allocations: 0.8152 MB / 371.2 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1559/0.3025, allocations: 0.7459 MB / 372 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.3027, allocations: 20.91 kB / 372 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.3028, allocations: 20.28 kB / 372 MB, free: 19.74 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3028, allocations: 0 / 372 MB, free: 19.74 MB / 302.1 MB Notification: Performance of Templates: time 0.005655/0.3084, allocations: 2.151 MB / 374.1 MB, free: 19.7 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches