Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001454/0.001454, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 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.001645/0.001645, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 51.91 kB / 374.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1212, allocations: 53.33 MB / 427.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004245/0.1255, allocations: 2.444 MB / 429.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1268, allocations: 0.6077 MB / 430.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1269, allocations: 7.938 kB / 430.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.1271, allocations: 43.59 kB / 430.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1273, allocations: 87.25 kB / 430.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.1275, allocations: 55.92 kB / 430.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.1279, allocations: 298.6 kB / 431 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.1281, allocations: 78.95 kB / 431.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1283, allocations: 111.6 kB / 431.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.1285, allocations: 127.4 kB / 431.3 MB, free: 452 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.088e-05/0.1285, allocations: 28 kB / 431.3 MB, free: 424 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.1286, allocations: 24 kB / 431.4 MB, free: 400 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.1287, allocations: 51.83 kB / 431.4 MB, free: 348 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1288, allocations: 135.3 kB / 431.6 MB, free: 212 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.1293, allocations: 298.8 kB / 431.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1293, allocations: 0 / 431.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1293, allocations: 7.938 kB / 431.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1293, allocations: 0 / 431.9 MB, free: 15.9 MB / 366.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.00106/0.1304, allocations: 0.5418 MB / 432.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.1304, allocations: 12.03 kB / 432.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.1305, allocations: 28.75 kB / 432.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.1309, allocations: 248.4 kB / 432.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.131, allocations: 16.94 kB / 432.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.131, allocations: 32.12 kB / 432.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.1315, allocations: 220.9 kB / 432.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.1316, allocations: 11.95 kB / 433 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.1316, allocations: 8 kB / 433 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1316, allocations: 8 kB / 433 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.132, allocations: 178.1 kB / 433.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.1334, allocations: 0.7464 MB / 433.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.134, allocations: 206.5 kB / 434.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.1343, allocations: 106.9 kB / 434.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1343, allocations: 4 kB / 434.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.1343, allocations: 42.5 kB / 434.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.1343, allocations: 4 kB / 434.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002034/0.1363, allocations: 0.9629 MB / 435.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1364, allocations: 59.41 kB / 435.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1366, allocations: 163.1 kB / 435.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1366, allocations: 29.7 kB / 435.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1367, allocations: 140.8 kB / 435.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/0.1368, allocations: 111 kB / 435.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.177e-05/0.1369, allocations: 49.7 kB / 435.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.137, allocations: 334.8 kB / 436.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.1372, allocations: 79.95 kB / 436.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1374, allocations: 103.4 kB / 436.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.1379, allocations: 219.3 kB / 436.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1379, allocations: 0 / 436.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005101/0.1384, allocations: 253.5 kB / 436.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1384, allocations: 4 kB / 436.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.1384, allocations: 7.938 kB / 436.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1384, allocations: 0 / 436.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.1387, allocations: 80.05 kB / 436.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1387, allocations: 3.938 kB / 436.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.1388, allocations: 15.98 kB / 436.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1389, allocations: 12 kB / 436.8 MB, free: 10.58 MB / 366.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.0001421/0.139, allocations: 137.7 kB / 437 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.1391, allocations: 27.8 kB / 437 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/0.1391, allocations: 22.56 kB / 437 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1391, allocations: 4 kB / 437 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1391, allocations: 4 kB / 437 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1391, allocations: 3.984 kB / 437 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.1402, allocations: 0.6409 MB / 437.7 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1402, allocations: 0 / 437.7 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.1405, allocations: 71.89 kB / 437.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1405, allocations: 8.062 kB / 437.8 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1405, allocations: 8 kB / 437.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1405, allocations: 3.938 kB / 437.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1405, allocations: 3.938 kB / 437.8 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.1413, allocations: 450.3 kB / 438.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.1414, allocations: 89.02 kB / 438.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.1414, allocations: 8.062 kB / 438.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.1415, allocations: 15.92 kB / 438.3 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.1416, allocations: 15.98 kB / 438.3 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1416, allocations: 8 kB / 438.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.833e-05/0.1417, allocations: 116.4 kB / 438.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1417, allocations: 0 / 438.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.142, allocations: 64 kB / 438.5 MB, free: 8.793 MB / 366.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.0001491/0.1422, allocations: 107.7 kB / 438.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004866/0.1427, allocations: 187.8 kB / 438.8 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1427, allocations: 0 / 438.8 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.1429, allocations: 112.1 kB / 438.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.1433, allocations: 42.72 kB / 439 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.1448, allocations: 0.8409 MB / 439.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.1453, allocations: 0.7522 MB / 440.5 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/0.1453, allocations: 27.38 kB / 440.6 MB, free: 6.656 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1453, allocations: 4 kB / 440.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of Templates: time 0.005409/0.1507, allocations: 2.812 MB / 443.4 MB, free: 3.844 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.284707452985458]