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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002045/0.002045, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 68.12 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1213, allocations: 53.32 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.00417/0.1255, allocations: 2.443 MB / 429.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1267, allocations: 0.6077 MB / 429.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1268, allocations: 4 kB / 429.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.127, allocations: 43.59 kB / 429.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1272, allocations: 87.25 kB / 429.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.1274, allocations: 55.92 kB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.1277, allocations: 294.6 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.1279, allocations: 78.95 kB / 430.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.128, allocations: 111.6 kB / 430.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.1282, allocations: 127.5 kB / 430.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.1282, allocations: 28 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.141e-05/0.1283, allocations: 24 kB / 430.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.1283, allocations: 51.84 kB / 430.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.1285, allocations: 139.3 kB / 430.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.1289, allocations: 294.8 kB / 431 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1289, allocations: 0 / 431 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1289, allocations: 0 / 431 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1289, allocations: 0 / 431 MB, free: 0.5977 MB / 350.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.0008572/0.1297, allocations: 0.5418 MB / 431.6 MB, free: 8 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1298, allocations: 8.031 kB / 431.6 MB, free: 0 / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1967/0.3265, allocations: 62.31 kB / 431.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.3266, allocations: 28.36 kB / 431.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.3269, allocations: 244.3 kB / 431.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.327, allocations: 18.84 kB / 431.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.327, allocations: 29.86 kB / 431.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.3275, allocations: 228.4 kB / 432.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.3275, allocations: 2.266 kB / 432.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3276, allocations: 16.81 kB / 432.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3276, allocations: 6.281 kB / 432.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.3279, allocations: 179.3 kB / 432.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.329, allocations: 0.7538 MB / 433.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.3294, allocations: 212.7 kB / 433.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.3296, allocations: 110.2 kB / 433.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3296, allocations: 7.031 kB / 433.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3297, allocations: 34 kB / 433.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.743e-06/0.3297, allocations: 0 / 433.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001405/0.3311, allocations: 0.9624 MB / 434.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.3311, allocations: 54.38 kB / 434.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3312, allocations: 161.2 kB / 434.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3312, allocations: 28.73 kB / 434.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.3313, allocations: 144.4 kB / 434.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.3313, allocations: 113.2 kB / 434.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.3314, allocations: 43.81 kB / 435 MB, free: 9.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.3314, allocations: 336.2 kB / 435.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3316, allocations: 76.7 kB / 435.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.3318, allocations: 113 kB / 435.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.3321, allocations: 208.1 kB / 435.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3321, allocations: 0 / 435.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004238/0.3326, allocations: 264.2 kB / 435.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3326, allocations: 9.719 kB / 436 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3326, allocations: 1.062 kB / 436 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3326, allocations: 2.188 kB / 436 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.3329, allocations: 79.94 kB / 436 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3329, allocations: 6.375 kB / 436 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.333, allocations: 12.98 kB / 436.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.333, allocations: 9.906 kB / 436.1 MB, free: 9.328 MB / 350.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 8.299e-05/0.3331, allocations: 141.2 kB / 436.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.3331, allocations: 17.66 kB / 436.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.3332, allocations: 28.31 kB / 436.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3332, allocations: 3.438 kB / 436.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3332, allocations: 0 / 436.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3332, allocations: 3.188 kB / 436.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007658/0.334, allocations: 0.6538 MB / 436.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.334, allocations: 4.578 kB / 436.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.3343, allocations: 77.69 kB / 437 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3343, allocations: 1.156 kB / 437 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3343, allocations: 7.812 kB / 437 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3343, allocations: 5.438 kB / 437 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3343, allocations: 4.969 kB / 437 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.3348, allocations: 450 kB / 437.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.3349, allocations: 92.81 kB / 437.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3349, allocations: 6.531 kB / 437.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.335, allocations: 17.44 kB / 437.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.3351, allocations: 15.39 kB / 437.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.3351, allocations: 13.47 kB / 437.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.292e-05/0.3352, allocations: 115.3 kB / 437.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3352, allocations: 0 / 437.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.3355, allocations: 58.19 kB / 437.8 MB, free: 8.227 MB / 350.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.000762/0.3362, allocations: 0.9713 MB / 438.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003927/0.3366, allocations: 191.8 kB / 438.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3366, allocations: 0 / 438.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.3368, allocations: 102 kB / 439 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.3372, allocations: 54.05 kB / 439.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.34, allocations: 2.67 MB / 441.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.3402, allocations: 0.7521 MB / 442.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.509e-05/0.3402, allocations: 20.05 kB / 442.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.3403, allocations: 75.27 kB / 442.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3403, allocations: 0 / 442.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.3706, allocations: 4.568 MB / 447.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.45, allocations: 9.5 kB / 447.2 MB, free: 4.023 MB / 350.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.134136336389929]