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: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 60.03 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1112, allocations: 50.53 MB / 357.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004265/0.1155, allocations: 2.481 MB / 360.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1167, allocations: 0.6156 MB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.1169, allocations: 7.938 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.1171, allocations: 23.78 kB / 360.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.1174, allocations: 67.45 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1176, allocations: 55.94 kB / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.118, allocations: 290.6 kB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.1182, allocations: 126.8 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.1184, allocations: 99.66 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.1186, allocations: 127.4 kB / 361.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.1187, allocations: 24 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.058e-05/0.1187, allocations: 24 kB / 361.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.1188, allocations: 51.84 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.119, allocations: 135.3 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1192, allocations: 227.7 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1192, allocations: 4 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1193, allocations: 0 / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1193, allocations: 0 / 362 MB, free: 10.07 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.000864/0.1201, allocations: 0.5342 MB / 362.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/0.1202, allocations: 12.03 kB / 362.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.1203, allocations: 24.66 kB / 362.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1206, allocations: 245.2 kB / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.1207, allocations: 20.94 kB / 362.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.1207, allocations: 32.12 kB / 362.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.1212, allocations: 228.8 kB / 363.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.1213, allocations: 7.844 kB / 363.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.1213, allocations: 12 kB / 363.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1213, allocations: 4 kB / 363.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.1217, allocations: 182.1 kB / 363.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.123, allocations: 0.75 MB / 364 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.1235, allocations: 218.5 kB / 364.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.1238, allocations: 116 kB / 364.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1238, allocations: 4 kB / 364.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1239, allocations: 34.56 kB / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.254e-06/0.1239, allocations: 0 / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001889/0.1258, allocations: 0.9649 MB / 365.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1258, allocations: 59.41 kB / 365.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.126, allocations: 152.5 kB / 365.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.126, allocations: 33.7 kB / 365.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1261, allocations: 140.6 kB / 365.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.1262, allocations: 98.56 kB / 365.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-05/0.1263, allocations: 49.7 kB / 365.9 MB, free: 5.887 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1265, allocations: 338.8 kB / 366.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.1267, allocations: 79.81 kB / 366.3 MB, free: 5.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1269, allocations: 107.3 kB / 366.4 MB, free: 5.352 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.1273, allocations: 203.4 kB / 366.6 MB, free: 5.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1273, allocations: 0 / 366.6 MB, free: 5.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000476/0.1278, allocations: 265.2 kB / 366.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1278, allocations: 4 kB / 366.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1278, allocations: 0 / 366.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1278, allocations: 8.094 kB / 366.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.1281, allocations: 75.89 kB / 366.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1281, allocations: 0 / 366.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.1283, allocations: 15.98 kB / 366.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1283, allocations: 8 kB / 366.9 MB, free: 4.766 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.0001384/0.1285, allocations: 145.7 kB / 367.1 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.1285, allocations: 15.81 kB / 367.1 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.1286, allocations: 30.56 kB / 367.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1286, allocations: 4 kB / 367.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1286, allocations: 0 / 367.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1286, allocations: 3.984 kB / 367.1 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009752/0.1296, allocations: 0.6521 MB / 367.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1296, allocations: 0 / 367.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.13, allocations: 75.83 kB / 367.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.13, allocations: 4 kB / 367.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.13, allocations: 11.94 kB / 367.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.13, allocations: 7.938 kB / 367.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.13, allocations: 3.984 kB / 367.9 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008238/0.1309, allocations: 449.6 kB / 368.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.1309, allocations: 88.92 kB / 368.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.131, allocations: 4.062 kB / 368.4 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.1311, allocations: 19.92 kB / 368.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.1312, allocations: 19.92 kB / 368.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1312, allocations: 8 kB / 368.5 MB, free: 3.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.177e-05/0.1313, allocations: 119.2 kB / 368.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1313, allocations: 0 / 368.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000309/0.1316, allocations: 56 kB / 368.6 MB, free: 2.957 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.0001394/0.1318, allocations: 107.2 kB / 368.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005172/0.1323, allocations: 228 kB / 369 MB, free: 2.617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1323, allocations: 0 / 369 MB, free: 2.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.1325, allocations: 105 kB / 369.1 MB, free: 2.516 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.133, allocations: 39.05 kB / 369.1 MB, free: 2.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.1345, allocations: 0.9305 MB / 370 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1349, allocations: 0.756 MB / 370.8 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.135, allocations: 23.44 kB / 370.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.135, allocations: 0 / 370.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of Templates: time 0.1585/0.2935, allocations: 2.757 MB / 373.6 MB, free: 19.26 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (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 & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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