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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 117.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002331/0.002331, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 207.6 MB / 231.8 MB, free: 4.066 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 55.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.1001, allocations: 49.13 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003606/0.1037, allocations: 2.12 MB / 393.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1048, allocations: 0.5967 MB / 394.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.1049, allocations: 4 kB / 394.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1051, allocations: 31.66 kB / 394.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.1052, allocations: 43.58 kB / 394.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.1054, allocations: 59.86 kB / 394.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.1057, allocations: 207 kB / 394.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1058, allocations: 57.59 kB / 394.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1059, allocations: 75.77 kB / 394.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1061, allocations: 79.62 kB / 394.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.1061, allocations: 16 kB / 394.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-05/0.1062, allocations: 20 kB / 394.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.1062, allocations: 39.84 kB / 394.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.87e-05/0.1063, allocations: 87.55 kB / 394.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.1066, allocations: 223 kB / 395 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1066, allocations: 4 kB / 395 MB, free: 5.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1066, allocations: 0 / 395 MB, free: 5.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1066, allocations: 0 / 395 MB, free: 5.047 MB / 318.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.0007236/0.1073, allocations: 478.6 kB / 395.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1074, allocations: 12.03 kB / 395.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.1074, allocations: 46.73 kB / 395.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.1075, allocations: 24.8 kB / 395.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.1078, allocations: 224.1 kB / 395.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1078, allocations: 12.38 kB / 395.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.1079, allocations: 16.33 kB / 395.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.1082, allocations: 165.3 kB / 396 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1082, allocations: 0 / 396 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1082, allocations: 4 kB / 396 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1082, allocations: 8 kB / 396 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.1085, allocations: 103.9 kB / 396.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.1094, allocations: 0.5967 MB / 396.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1096, allocations: 106.6 kB / 396.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.1097, allocations: 36.84 kB / 396.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1098, allocations: 8 kB / 396.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1098, allocations: 34.5 kB / 396.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.1098, allocations: 0 / 396.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001664/0.1115, allocations: 0.8027 MB / 397.7 MB, free: 2.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.1115, allocations: 51.41 kB / 397.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1117, allocations: 158.2 kB / 397.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1117, allocations: 29.7 kB / 397.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.1118, allocations: 128.4 kB / 398.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.1118, allocations: 67.42 kB / 398.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.1119, allocations: 33.72 kB / 398.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1121, allocations: 338.8 kB / 398.5 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1122, allocations: 43.98 kB / 398.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1123, allocations: 75.34 kB / 398.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.1126, allocations: 131.5 kB / 398.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1126, allocations: 0 / 398.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004172/0.113, allocations: 210.1 kB / 398.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.113, allocations: 4 kB / 398.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.113, allocations: 4 kB / 398.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.1132, allocations: 44.8 kB / 399 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.1134, allocations: 39.98 kB / 399 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.1148, allocations: 1.539 MB / 400.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-05/0.1149, allocations: 12.02 kB / 400.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.115, allocations: 8 kB / 400.6 MB, free: 15 MB / 334.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.0001345/0.1151, allocations: 129.8 kB / 400.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.1151, allocations: 15.91 kB / 400.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.1152, allocations: 17.19 kB / 400.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1152, allocations: 3.984 kB / 400.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1152, allocations: 8 kB / 400.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1152, allocations: 4 kB / 400.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008624/0.1161, allocations: 0.5723 MB / 401.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1161, allocations: 0 / 401.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.1162, allocations: 27.92 kB / 401.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.1163, allocations: 36.83 kB / 401.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1164, allocations: 8 kB / 401.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.1176, allocations: 1.481 MB / 402.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1176, allocations: 4 kB / 402.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.1181, allocations: 332 kB / 403.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.1182, allocations: 97.03 kB / 403.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.1182, allocations: 4.125 kB / 403.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.1183, allocations: 8 kB / 403.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.1184, allocations: 11.98 kB / 403.3 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.1184, allocations: 4 kB / 403.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.1185, allocations: 120.1 kB / 403.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1185, allocations: 0 / 403.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.1188, allocations: 47.94 kB / 403.5 MB, free: 11.83 MB / 334.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.0008897/0.1197, allocations: 0.8774 MB / 404.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005483/0.1202, allocations: 258.2 kB / 404.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1202, allocations: 4.188 kB / 404.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.1205, allocations: 182.6 kB / 404.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1209, allocations: 23.98 kB / 404.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.1237, allocations: 2.138 MB / 407 MB, free: 8.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1241, allocations: 0.732 MB / 407.7 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.304e-05/0.1241, allocations: 17.55 kB / 407.7 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.1242, allocations: 47.42 kB / 407.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1242, allocations: 0 / 407.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.1568, allocations: 3.783 MB / 411.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.876/10.03, allocations: 12.58 kB / 411.6 MB, free: 3.531 MB / 334.1 MB " [Timeout remaining time 650] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.73358399499557]