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.0008959/0.0008959, allocations: 76.36 kB / 20.67 MB, free: 3.898 MB / 18.57 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.001023/0.001023, allocations: 156.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8739/0.8739, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 4.749e-06/4.749e-06, allocations: 4 kB / 324.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/3.028e-05, allocations: 6.781 kB / 324.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003788/0.003818, allocations: 2.327 MB / 326.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.00503, allocations: 0.5882 MB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.005191, allocations: 11.94 kB / 327.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.00536, allocations: 35.59 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.005574, allocations: 87.2 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.00578, allocations: 55.91 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.006151, allocations: 310.4 kB / 327.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.006364, allocations: 75.89 kB / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.006623, allocations: 175.6 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.006773, allocations: 83.77 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.827e-05/0.006832, allocations: 28 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.114e-05/0.006873, allocations: 24 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.006924, allocations: 63.69 kB / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.007028, allocations: 91.81 kB / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.00739, allocations: 299 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007394, allocations: 0 / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.007395, allocations: 0 / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.007403, allocations: 0 / 328.7 MB, free: 11.53 MB / 298.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.000817/0.00822, allocations: 473.8 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.008271, allocations: 15.98 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.14e-05/0.008343, allocations: 62.72 kB / 329.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.008399, allocations: 28.75 kB / 329.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.008729, allocations: 185.9 kB / 329.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.008758, allocations: 17.03 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.008812, allocations: 24.38 kB / 329.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.009293, allocations: 230.4 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.009314, allocations: 7.953 kB / 329.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.009338, allocations: 12 kB / 329.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.009347, allocations: 8 kB / 329.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.009759, allocations: 178.4 kB / 329.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.01095, allocations: 0.6324 MB / 330.6 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.01146, allocations: 210.5 kB / 330.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.01167, allocations: 105.5 kB / 330.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.01169, allocations: 4 kB / 330.9 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.01172, allocations: 34.5 kB / 330.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.726e-06/0.01172, allocations: 3.938 kB / 330.9 MB, free: 9.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001756/0.01348, allocations: 0.832 MB / 331.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.01352, allocations: 51.41 kB / 331.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.01369, allocations: 154.6 kB / 332 MB, free: 8.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.01371, allocations: 29.7 kB / 332 MB, free: 8.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.01381, allocations: 140.8 kB / 332.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-05/0.01389, allocations: 115 kB / 332.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/0.01398, allocations: 45.7 kB / 332.3 MB, free: 7.742 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01409, allocations: 330.8 kB / 332.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.01429, allocations: 83.81 kB / 332.7 MB, free: 7.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.0145, allocations: 112.9 kB / 332.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.01488, allocations: 199.3 kB / 333 MB, free: 7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.01488, allocations: 3.938 kB / 333 MB, free: 6.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004897/0.01537, allocations: 257.5 kB / 333.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.0154, allocations: 7.984 kB / 333.3 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.01541, allocations: 8 kB / 333.3 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.01543, allocations: 3.938 kB / 333.3 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.01571, allocations: 67.97 kB / 333.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.01572, allocations: 3.938 kB / 333.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.01584, allocations: 19.98 kB / 333.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.01586, allocations: 8.094 kB / 333.4 MB, free: 6.621 MB / 298.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 0.0001305/0.01599, allocations: 141.7 kB / 333.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.01604, allocations: 23.86 kB / 333.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.11e-05/0.0161, allocations: 26.64 kB / 333.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.01611, allocations: 4 kB / 333.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.01611, allocations: 0 / 333.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.01612, allocations: 3.984 kB / 333.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009994/0.01712, allocations: 0.5971 MB / 334.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.01712, allocations: 4 kB / 334.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.01744, allocations: 75.89 kB / 334.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01744, allocations: 3.938 kB / 334.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.01747, allocations: 8 kB / 334.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01747, allocations: 0 / 334.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01747, allocations: 0 / 334.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.01816, allocations: 447 kB / 334.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.01819, allocations: 23.95 kB / 334.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.01823, allocations: 4 kB / 334.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.01837, allocations: 15.98 kB / 334.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.01843, allocations: 15.91 kB / 334.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.01844, allocations: 12 kB / 334.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.135e-05/0.01853, allocations: 116.6 kB / 334.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01853, allocations: 4 kB / 334.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003382/0.01887, allocations: 59.94 kB / 334.9 MB, free: 4.969 MB / 298.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.001183/0.02005, allocations: 0.9727 MB / 335.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.02036, allocations: 183.9 kB / 336.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02037, allocations: 0 / 336.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.02049, allocations: 109.2 kB / 336.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.0208, allocations: 59.05 kB / 336.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.02304, allocations: 2.516 MB / 338.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.02315, allocations: 146.4 kB / 338.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.814e-05/0.02322, allocations: 25.92 kB / 338.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.02331, allocations: 72.48 kB / 339 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02331, allocations: 4 kB / 339 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.04407, allocations: 5.359 MB / 344.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/6.953, allocations: 2.953 kB / 344.4 MB, free: 11.49 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/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: 8.696590842679143]