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.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.0008068/0.0008068, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003781/0.003781, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8638/0.8638, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 298.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.146e-05, allocations: 6.219 kB / 298.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002666/0.002688, allocations: 2.303 MB / 300.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.003573, allocations: 0.5931 MB / 301.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.003688, allocations: 7.938 kB / 301.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.003824, allocations: 35.59 kB / 301.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.003949, allocations: 83.27 kB / 301.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.004107, allocations: 67.84 kB / 301.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.004351, allocations: 306.4 kB / 301.8 MB, free: 212 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.004518, allocations: 83.03 kB / 301.9 MB, free: 132 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1252/0.1297, allocations: 165 kB / 302.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.1299, allocations: 87.59 kB / 302.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.13, allocations: 24.06 kB / 302.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.009e-05/0.13, allocations: 24.66 kB / 302.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.1301, allocations: 53.06 kB / 302.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.1301, allocations: 95.42 kB / 302.3 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1305, allocations: 297.1 kB / 302.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1305, allocations: 0 / 302.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1305, allocations: 2.656 kB / 302.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1305, allocations: 1 kB / 302.6 MB, free: 13.25 MB / 282.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.0005496/0.1311, allocations: 482.7 kB / 303.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1311, allocations: 15.52 kB / 303.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.1311, allocations: 59.84 kB / 303.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.1312, allocations: 26.31 kB / 303.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.1315, allocations: 182.6 kB / 303.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1315, allocations: 21.16 kB / 303.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.1315, allocations: 31.17 kB / 303.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.1318, allocations: 228.2 kB / 303.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1318, allocations: 8.828 kB / 303.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.1319, allocations: 8.688 kB / 303.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1319, allocations: 7.188 kB / 303.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.1321, allocations: 176.5 kB / 303.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.1329, allocations: 0.6386 MB / 304.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.1333, allocations: 216.6 kB / 304.7 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1334, allocations: 103.2 kB / 304.8 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1334, allocations: 2.5 kB / 304.8 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.1334, allocations: 40.97 kB / 304.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.1334, allocations: 1.406 kB / 304.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.001091/0.1345, allocations: 0.8096 MB / 305.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.1346, allocations: 54.08 kB / 305.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.1347, allocations: 158.6 kB / 305.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.1347, allocations: 30.8 kB / 305.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.1347, allocations: 148.3 kB / 306 MB, free: 11.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.1348, allocations: 109.5 kB / 306.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.1348, allocations: 51.36 kB / 306.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.1349, allocations: 329 kB / 306.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.135, allocations: 71.84 kB / 306.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1351, allocations: 115.2 kB / 306.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1353, allocations: 202.2 kB / 306.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1353, allocations: 1.156 kB / 306.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002897/0.1356, allocations: 267.9 kB / 307.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1356, allocations: 5.312 kB / 307.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1357, allocations: 2.25 kB / 307.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1357, allocations: 2.219 kB / 307.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.1358, allocations: 79.73 kB / 307.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1358, allocations: 6.156 kB / 307.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.1359, allocations: 12.97 kB / 307.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1359, allocations: 11.31 kB / 307.3 MB, free: 10.85 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/0.136, allocations: 135.6 kB / 307.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.136, allocations: 26.58 kB / 307.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.1361, allocations: 30.03 kB / 307.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1361, allocations: 4.141 kB / 307.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1361, allocations: 0 / 307.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1361, allocations: 8.406 kB / 307.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.1367, allocations: 0.6032 MB / 308.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1367, allocations: 2 kB / 308.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.1369, allocations: 69.56 kB / 308.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1369, allocations: 2.75 kB / 308.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1369, allocations: 5.859 kB / 308.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1369, allocations: 3.484 kB / 308.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1369, allocations: 4.062 kB / 308.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.1373, allocations: 447 kB / 308.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.1373, allocations: 15.44 kB / 308.6 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1373, allocations: 9.75 kB / 308.6 MB, free: 9.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.1374, allocations: 11.44 kB / 308.6 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.1375, allocations: 25.09 kB / 308.7 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1375, allocations: 5.219 kB / 308.7 MB, free: 9.984 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.855e-05/0.1375, allocations: 122.2 kB / 308.8 MB, free: 9.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1375, allocations: 0 / 308.8 MB, free: 9.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000198/0.1377, allocations: 58.41 kB / 308.8 MB, free: 9.887 MB / 282.7 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.0005494/0.1383, allocations: 0.9713 MB / 309.8 MB, free: 9.105 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.1386, allocations: 200.1 kB / 310 MB, free: 9.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1386, allocations: 0.9375 kB / 310 MB, free: 9.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1387, allocations: 94.5 kB / 310.1 MB, free: 9.031 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.139, allocations: 45.56 kB / 310.1 MB, free: 9.012 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.141, allocations: 2.533 MB / 312.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.1411, allocations: 139.9 kB / 312.8 MB, free: 7.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.1412, allocations: 23.62 kB / 312.8 MB, free: 7.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.1413, allocations: 76.83 kB / 312.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1413, allocations: 0 / 312.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.164, allocations: 5.347 MB / 318.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.969, allocations: 13.69 kB / 318.3 MB, free: 5.59 MB / 282.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,load.phi,load.w,shaft.phi,shaft.w,springDamper.phi_rel,springDamper.w_rel Variables in the result:der(housing.phi),der(housing.w),der(load.phi),der(load.w),der(shaft.phi),der(shaft.w),der(springDamper.phi_rel),der(springDamper.w_rel),fixed.flange.phi,fixed.flange.tau,fixed.phi0,housing.J,housing.a,housing.flange_a.phi,housing.flange_a.tau,housing.flange_b.phi,housing.flange_b.tau,housing.phi,housing.stateSelect,housing.w,idealGear.flange_a.phi,idealGear.flange_a.tau,idealGear.flange_b.phi,idealGear.flange_b.tau,idealGear.phi_a,idealGear.phi_b,idealGear.ratio,idealGear.support.phi,idealGear.support.tau,idealGear.useSupport,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,multiSensor.flange_a.phi,multiSensor.flange_a.tau,multiSensor.flange_b.phi,multiSensor.flange_b.tau,multiSensor.power,multiSensor.tau,multiSensor.w,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,shaft.J,shaft.a,shaft.flange_a.phi,shaft.flange_a.tau,shaft.flange_b.phi,shaft.flange_b.tau,shaft.phi,shaft.stateSelect,shaft.w,spring.c,spring.flange_a.phi,spring.flange_a.tau,spring.flange_b.phi,spring.flange_b.tau,spring.phi_rel,spring.phi_rel0,spring.tau,springDamper.a_rel,springDamper.c,springDamper.d,springDamper.flange_a.phi,springDamper.flange_a.tau,springDamper.flange_b.phi,springDamper.flange_b.tau,springDamper.lossPower,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.stateSelect,springDamper.tau,springDamper.useHeatPort,springDamper.w_rel,time,torque.flange.phi,torque.flange.tau,torque.support.phi,torque.support.tau,torque.tau,torque.useSupport [Calling sys.exit(0), Time elapsed: 8.543160959146917]