Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 58.09 kB / 307 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1198, allocations: 50.54 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004161/0.124, allocations: 2.114 MB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1255, allocations: 0.5843 MB / 360.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.1257, allocations: 4 kB / 360.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.126, allocations: 35.66 kB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.1262, allocations: 47.55 kB / 360.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1265, allocations: 55.88 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.1268, allocations: 199.2 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.127, allocations: 84.8 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1271, allocations: 75.72 kB / 360.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1273, allocations: 75.64 kB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.1273, allocations: 16 kB / 360.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.734e-05/0.1274, allocations: 16 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.1274, allocations: 43.83 kB / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1275, allocations: 91.59 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.1278, allocations: 203.6 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1278, allocations: 0 / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1278, allocations: 4 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1278, allocations: 0 / 361.2 MB, free: 10.34 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007514/0.1286, allocations: 478.8 kB / 361.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1286, allocations: 8.031 kB / 361.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.534e-05/0.1287, allocations: 50.73 kB / 361.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.1288, allocations: 28.59 kB / 361.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.129, allocations: 216.1 kB / 362 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1291, allocations: 12.38 kB / 362 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.1291, allocations: 28.22 kB / 362 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.1295, allocations: 157.5 kB / 362.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1295, allocations: 4 kB / 362.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.1295, allocations: 8 kB / 362.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1295, allocations: 4 kB / 362.2 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.1298, allocations: 103.9 kB / 362.3 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009969/0.1308, allocations: 0.5964 MB / 362.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.131, allocations: 122.6 kB / 363 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.805e-05/0.1311, allocations: 40.84 kB / 363 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1311, allocations: 0 / 363 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1312, allocations: 34.56 kB / 363.1 MB, free: 8.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1312, allocations: 0 / 363.1 MB, free: 8.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001543/0.1327, allocations: 0.8017 MB / 363.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1328, allocations: 51.41 kB / 363.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1329, allocations: 159.9 kB / 364.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.133, allocations: 29.7 kB / 364.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.1331, allocations: 132.3 kB / 364.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.1331, allocations: 67 kB / 364.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.1332, allocations: 33.72 kB / 364.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1333, allocations: 330.8 kB / 364.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1334, allocations: 43.98 kB / 364.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1336, allocations: 74.97 kB / 364.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.1338, allocations: 134 kB / 364.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1338, allocations: 0 / 364.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003985/0.1342, allocations: 210.1 kB / 365.1 MB, free: 6.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1342, allocations: 8.062 kB / 365.1 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1343, allocations: 4 kB / 365.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/0.1344, allocations: 36.83 kB / 365.2 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1346, allocations: 35.92 kB / 365.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.1359, allocations: 1.532 MB / 366.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.774e-05/0.136, allocations: 8.016 kB / 366.7 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1361, allocations: 8 kB / 366.7 MB, free: 4.312 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.1362, allocations: 133.8 kB / 366.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.1362, allocations: 15.81 kB / 366.9 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.1363, allocations: 21.19 kB / 366.9 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1363, allocations: 7.875 kB / 366.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.1363, allocations: 7.938 kB / 366.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1363, allocations: 7.922 kB / 366.9 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008714/0.1372, allocations: 0.5789 MB / 367.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1372, allocations: 0 / 367.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.1374, allocations: 31.92 kB / 367.5 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.1375, allocations: 40.83 kB / 367.6 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1375, allocations: 0 / 367.6 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.1387, allocations: 1.489 MB / 369.1 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1388, allocations: 0 / 369.1 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.1393, allocations: 332 kB / 369.4 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.1394, allocations: 101 kB / 369.5 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1394, allocations: 0 / 369.5 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1395, allocations: 8 kB / 369.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.1395, allocations: 7.984 kB / 369.5 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.1396, allocations: 8 kB / 369.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.406e-05/0.1397, allocations: 119.2 kB / 369.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1397, allocations: 0 / 369.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.14, allocations: 43.94 kB / 369.7 MB, free: 1.121 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008447/0.1408, allocations: 0.8679 MB / 370.5 MB, free: 232 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1643/0.3052, allocations: 261.5 kB / 370.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.3052, allocations: 2.438 kB / 370.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.3056, allocations: 186.4 kB / 371 MB, free: 19.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.3062, allocations: 27.33 kB / 371 MB, free: 19.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.3088, allocations: 2.131 MB / 373.1 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.309, allocations: 0.736 MB / 373.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.919e-05/0.3091, allocations: 18.61 kB / 373.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.3092, allocations: 49.55 kB / 373.9 MB, free: 17.92 MB / 302.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3092, allocations: 4.859 kB / 374 MB, free: 17.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.3363, allocations: 3.663 MB / 377.6 MB, free: 17.42 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.634/9.971, allocations: 10.59 kB / 377.6 MB, free: 17.41 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches