Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 96.77 kB / 17.58 MB, free: 5.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 195.9 kB / 18.51 MB, free: 4.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 56.14 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1096, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003681/0.1134, allocations: 2.105 MB / 329.5 MB, free: 2.266 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1144, allocations: 0.5814 MB / 330.1 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1145, allocations: 4 kB / 330.1 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.1147, allocations: 35.66 kB / 330.1 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1148, allocations: 59.42 kB / 330.2 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.115, allocations: 47.94 kB / 330.2 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.1153, allocations: 207.1 kB / 330.4 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.1155, allocations: 73.64 kB / 330.5 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.266e-05/0.1156, allocations: 71.78 kB / 330.6 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1157, allocations: 83.62 kB / 330.6 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1158, allocations: 16 kB / 330.7 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.405e-05/0.1158, allocations: 19.94 kB / 330.7 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.1159, allocations: 43.84 kB / 330.7 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.116, allocations: 91.53 kB / 330.8 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.1163, allocations: 207.5 kB / 331 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1163, allocations: 0 / 331 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1163, allocations: 0 / 331 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1163, allocations: 0 / 331 MB, free: 0.7305 MB / 270.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.0007616/0.1171, allocations: 486.6 kB / 331.5 MB, free: 212 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1171, allocations: 8.031 kB / 331.5 MB, free: 204 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.538e-05/0.1172, allocations: 54.73 kB / 331.5 MB, free: 140 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.1172, allocations: 16.75 kB / 331.6 MB, free: 124 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1175, allocations: 220 kB / 331.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1175, allocations: 12.38 kB / 331.8 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.1176, allocations: 12.38 kB / 331.8 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.1179, allocations: 165.5 kB / 332 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1179, allocations: 4 kB / 332 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.118, allocations: 4 kB / 332 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.118, allocations: 8 kB / 332 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.1182, allocations: 103.7 kB / 332.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000956/0.1192, allocations: 0.5965 MB / 332.7 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.1195, allocations: 114.6 kB / 332.8 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.606e-05/0.1196, allocations: 44.78 kB / 332.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1196, allocations: 4 kB / 332.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.1196, allocations: 38.56 kB / 332.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.1196, allocations: 0 / 332.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001625/0.1213, allocations: 0.7948 MB / 333.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.1213, allocations: 55.31 kB / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1215, allocations: 162.2 kB / 333.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.1216, allocations: 29.7 kB / 333.9 MB, free: 13.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.1217, allocations: 132.3 kB / 334 MB, free: 13.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.1217, allocations: 59.11 kB / 334.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.1218, allocations: 41.64 kB / 334.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.122, allocations: 334.7 kB / 334.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1221, allocations: 47.92 kB / 334.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.1222, allocations: 71.41 kB / 334.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.1225, allocations: 132.6 kB / 334.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.1225, allocations: 0 / 334.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003969/0.1229, allocations: 202.8 kB / 334.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1229, allocations: 8 kB / 334.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1229, allocations: 7.922 kB / 334.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.1231, allocations: 40.91 kB / 335 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1233, allocations: 31.98 kB / 335 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.1248, allocations: 1.539 MB / 336.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.1249, allocations: 4.031 kB / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.125, allocations: 8 kB / 336.5 MB, free: 10.7 MB / 286.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.0001349/0.1251, allocations: 133.8 kB / 336.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.1252, allocations: 7.969 kB / 336.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.1252, allocations: 29.17 kB / 336.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1252, allocations: 4 kB / 336.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1252, allocations: 3.938 kB / 336.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1252, allocations: 0 / 336.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.1261, allocations: 0.5918 MB / 337.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1262, allocations: 7.984 kB / 337.3 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.1263, allocations: 23.98 kB / 337.3 MB, free: 9.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.1265, allocations: 36.83 kB / 337.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.1265, allocations: 4 kB / 337.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.1278, allocations: 1.473 MB / 338.9 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1278, allocations: 4.062 kB / 338.9 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005152/0.1283, allocations: 340 kB / 339.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.1284, allocations: 85.05 kB / 339.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1284, allocations: 4 kB / 339.3 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1285, allocations: 8 kB / 339.3 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.1286, allocations: 12.05 kB / 339.3 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1286, allocations: 4 kB / 339.3 MB, free: 7.68 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1287, allocations: 123.2 kB / 339.4 MB, free: 7.559 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1287, allocations: 3.938 kB / 339.4 MB, free: 7.555 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.129, allocations: 43.94 kB / 339.5 MB, free: 7.512 MB / 286.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.0008805/0.1299, allocations: 0.8723 MB / 340.3 MB, free: 6.613 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005889/0.1305, allocations: 266.4 kB / 340.6 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1305, allocations: 0 / 340.6 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.1308, allocations: 194.7 kB / 340.8 MB, free: 6.137 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.1312, allocations: 26.78 kB / 340.8 MB, free: 6.113 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.1342, allocations: 2.127 MB / 342.9 MB, free: 3.879 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.1346, allocations: 0.7281 MB / 343.7 MB, free: 3.121 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.78e-05/0.1347, allocations: 17.55 kB / 343.7 MB, free: 3.105 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.1348, allocations: 47.42 kB / 343.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1348, allocations: 0 / 343.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.1665, allocations: 3.665 MB / 347.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.29, allocations: 11.64 kB / 347.4 MB, free: 15.32 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches