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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 58.16 kB / 307 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1047, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004854/0.1096, allocations: 2.439 MB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.111, allocations: 0.6115 MB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.1113, allocations: 4 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.1115, allocations: 39.59 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1117, allocations: 79.2 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.112, allocations: 63.91 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.1125, allocations: 290.7 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.1128, allocations: 114.9 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.113, allocations: 111.6 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.1132, allocations: 119.5 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.1133, allocations: 24 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.39e-05/0.1133, allocations: 24 kB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.1134, allocations: 59.81 kB / 361.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.1136, allocations: 131.3 kB / 361.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.1139, allocations: 287.2 kB / 361.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.1139, allocations: 0 / 361.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.114, allocations: 8 kB / 362 MB, free: 9.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.114, allocations: 0 / 362 MB, free: 9.59 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.001013/0.115, allocations: 0.5304 MB / 362.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1151, allocations: 12.03 kB / 362.5 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.435e-05/0.1151, allocations: 62.72 kB / 362.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.1152, allocations: 24.66 kB / 362.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.1155, allocations: 247.9 kB / 362.8 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.1156, allocations: 24.94 kB / 362.8 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.1156, allocations: 27.94 kB / 362.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.1161, allocations: 228.8 kB / 363.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.1162, allocations: 3.906 kB / 363.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.1162, allocations: 12 kB / 363.1 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1162, allocations: 4 kB / 363.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.1166, allocations: 182.1 kB / 363.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.1179, allocations: 0.7617 MB / 364.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.1185, allocations: 215.6 kB / 364.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.1187, allocations: 112.8 kB / 364.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1187, allocations: 4 kB / 364.4 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1188, allocations: 38.56 kB / 364.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.754e-06/0.1188, allocations: 0 / 364.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001775/0.1205, allocations: 0.9664 MB / 365.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.1206, allocations: 55.41 kB / 365.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1208, allocations: 154.7 kB / 365.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1208, allocations: 29.7 kB / 365.6 MB, free: 5.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.1209, allocations: 140.6 kB / 365.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.208e-05/0.121, allocations: 98.47 kB / 365.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/0.1211, allocations: 49.7 kB / 365.9 MB, free: 5.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1212, allocations: 338.8 kB / 366.2 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.1214, allocations: 79.81 kB / 366.3 MB, free: 4.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.1216, allocations: 111.4 kB / 366.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.122, allocations: 207.3 kB / 366.6 MB, free: 4.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.122, allocations: 0 / 366.6 MB, free: 4.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005019/0.1225, allocations: 253.4 kB / 366.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1226, allocations: 4 kB / 366.9 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1226, allocations: 4 kB / 366.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1226, allocations: 4.094 kB / 366.9 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.1229, allocations: 75.89 kB / 367 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1229, allocations: 0 / 367 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.123, allocations: 19.92 kB / 367 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.1231, allocations: 12 kB / 367 MB, free: 4.199 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.000132/0.1232, allocations: 141.7 kB / 367.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.1232, allocations: 19.75 kB / 367.1 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.673e-05/0.1233, allocations: 34.5 kB / 367.2 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1233, allocations: 4 kB / 367.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1233, allocations: 3.984 kB / 367.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1234, allocations: 3.984 kB / 367.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009697/0.1243, allocations: 0.6443 MB / 367.8 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1243, allocations: 4.062 kB / 367.8 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.1247, allocations: 75.89 kB / 367.9 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1247, allocations: 4 kB / 367.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.1247, allocations: 11.94 kB / 367.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1247, allocations: 0 / 367.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1247, allocations: 0 / 367.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/0.1254, allocations: 456.4 kB / 368.4 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.1255, allocations: 92.98 kB / 368.5 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.1256, allocations: 11.94 kB / 368.5 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.1257, allocations: 7.984 kB / 368.5 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.1258, allocations: 15.98 kB / 368.5 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1258, allocations: 19.98 kB / 368.5 MB, free: 2.559 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.911e-05/0.1259, allocations: 115.5 kB / 368.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1259, allocations: 0 / 368.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.1263, allocations: 60 kB / 368.7 MB, free: 2.387 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.00103/0.1273, allocations: 0.9806 MB / 369.7 MB, free: 1.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004963/0.1278, allocations: 211.8 kB / 369.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1278, allocations: 0 / 369.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.1281, allocations: 112.1 kB / 370 MB, free: 1.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.1286, allocations: 42.5 kB / 370 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1675/0.2961, allocations: 2.642 MB / 372.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2964, allocations: 0.7502 MB / 373.4 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.2965, allocations: 20.44 kB / 373.4 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.2967, allocations: 78.14 kB / 373.5 MB, free: 18.38 MB / 302.1 MB Notification: Performance of SimCode: time 1.863e-06/0.2967, allocations: 1.281 kB / 373.5 MB, free: 18.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.3243, allocations: 4.431 MB / 378 MB, free: 17.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.157, allocations: 5.984 kB / 378 MB, free: 17.92 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > 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