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.001603/0.001603, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.00199/0.00199, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.463/1.463, allocations: 230.4 MB / 254 MB, free: 15.2 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.001993/0.001993, allocations: 59.91 kB / 373 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1038, allocations: 53.37 MB / 426.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004449/0.1082, allocations: 2.448 MB / 428.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1096, allocations: 0.6077 MB / 429.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.1097, allocations: 7.938 kB / 429.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.1099, allocations: 39.58 kB / 429.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.1101, allocations: 91.25 kB / 429.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.1103, allocations: 55.92 kB / 429.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.1107, allocations: 298.6 kB / 429.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.1109, allocations: 78.89 kB / 430 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.111, allocations: 123.6 kB / 430.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1112, allocations: 119.5 kB / 430.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.1112, allocations: 24 kB / 430.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.015e-05/0.1113, allocations: 24 kB / 430.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.1113, allocations: 51.84 kB / 430.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.1114, allocations: 139.3 kB / 430.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.1118, allocations: 298.7 kB / 430.7 MB, free: 264 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1118, allocations: 0 / 430.7 MB, free: 264 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1118, allocations: 0 / 430.7 MB, free: 264 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1118, allocations: 0 / 430.7 MB, free: 264 kB / 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.0009012/0.1127, allocations: 0.5379 MB / 431.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1128, allocations: 16.03 kB / 431.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.1128, allocations: 58.73 kB / 431.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.1129, allocations: 32.73 kB / 431.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.1132, allocations: 251.5 kB / 431.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1133, allocations: 16.94 kB / 431.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.1133, allocations: 31.92 kB / 431.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.1138, allocations: 224.9 kB / 431.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1138, allocations: 3.953 kB / 431.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.1138, allocations: 16 kB / 431.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.1138, allocations: 8 kB / 431.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.1143, allocations: 178.1 kB / 432.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.1154, allocations: 0.7425 MB / 432.8 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.1159, allocations: 208.2 kB / 433 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.1161, allocations: 108.7 kB / 433.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1161, allocations: 4 kB / 433.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1162, allocations: 30.56 kB / 433.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.1162, allocations: 4 kB / 433.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001782/0.118, allocations: 0.9824 MB / 434.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.118, allocations: 55.41 kB / 434.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.1182, allocations: 159.8 kB / 434.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1182, allocations: 29.7 kB / 434.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.1183, allocations: 140.8 kB / 434.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/0.1184, allocations: 107 kB / 434.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.1185, allocations: 49.7 kB / 434.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1186, allocations: 334.8 kB / 435 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.1188, allocations: 75.95 kB / 435.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.119, allocations: 115.2 kB / 435.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.1194, allocations: 207.3 kB / 435.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1194, allocations: 7.938 kB / 435.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004979/0.1199, allocations: 261.4 kB / 435.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1199, allocations: 4 kB / 435.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1199, allocations: 4 kB / 435.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1199, allocations: 0 / 435.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.1202, allocations: 75.89 kB / 435.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1202, allocations: 96 / 435.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1204, allocations: 24 kB / 435.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.1204, allocations: 11.98 kB / 435.8 MB, free: 10.86 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.0001249/0.1205, allocations: 137.7 kB / 435.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.1206, allocations: 19.86 kB / 435.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.234e-05/0.1206, allocations: 26.56 kB / 436 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1206, allocations: 4 kB / 436 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1206, allocations: 0 / 436 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1206, allocations: 3.984 kB / 436 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009796/0.1216, allocations: 0.6487 MB / 436.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1216, allocations: 0 / 436.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.122, allocations: 71.89 kB / 436.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.122, allocations: 4 kB / 436.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.122, allocations: 15.94 kB / 436.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.122, allocations: 4 kB / 436.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.122, allocations: 0 / 436.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.1227, allocations: 450.6 kB / 437.1 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.1228, allocations: 97.08 kB / 437.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.1228, allocations: 11.94 kB / 437.2 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1229, allocations: 7.984 kB / 437.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.123, allocations: 15.98 kB / 437.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.123, allocations: 8 kB / 437.3 MB, free: 9.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.792e-05/0.1231, allocations: 115.2 kB / 437.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1231, allocations: 0 / 437.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.1234, allocations: 60 kB / 437.5 MB, free: 9.066 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.001015/0.1244, allocations: 0.9808 MB / 438.4 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000445/0.1249, allocations: 191.8 kB / 438.6 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1249, allocations: 0 / 438.6 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.1251, allocations: 96.92 kB / 438.7 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.1255, allocations: 50.56 kB / 438.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.1291, allocations: 2.671 MB / 441.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.1294, allocations: 0.7522 MB / 442.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.808e-05/0.1295, allocations: 13.95 kB / 442.2 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.1297, allocations: 83.41 kB / 442.3 MB, free: 4.059 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1297, allocations: 0 / 442.3 MB, free: 4.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2177/0.3474, allocations: 4.559 MB / 446.8 MB, free: 23.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.532, allocations: 2.969 kB / 446.8 MB, free: 23.93 MB / 366.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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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.csv","/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_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable springDamper.w_rel in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv. Warning: Get data of variable springDamper.w_rel from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.057158695999533]