Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 120.1 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 194.8 kB / 20.73 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 51.92 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09836/0.09987, allocations: 52.13 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003461/0.1033, allocations: 2.133 MB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009422/0.1043, allocations: 0.5376 MB / 420.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1044, allocations: 7.938 kB / 420.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1046, allocations: 35.66 kB / 420.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.1047, allocations: 51.55 kB / 420.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1049, allocations: 59.88 kB / 420.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1052, allocations: 203.1 kB / 420.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1053, allocations: 53.64 kB / 420.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1054, allocations: 75.72 kB / 420.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1055, allocations: 83.62 kB / 421 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.1056, allocations: 20 kB / 421 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.929e-05/0.1056, allocations: 16 kB / 421 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.1056, allocations: 43.84 kB / 421.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.1057, allocations: 87.59 kB / 421.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.106, allocations: 219.1 kB / 421.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.106, allocations: 0 / 421.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.106, allocations: 0 / 421.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.106, allocations: 0 / 421.4 MB, free: 8.973 MB / 350.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.000712/0.1067, allocations: 474.6 kB / 421.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1068, allocations: 8.031 kB / 421.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.1068, allocations: 54.73 kB / 421.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.1069, allocations: 24.8 kB / 421.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.1072, allocations: 231.9 kB / 422.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1072, allocations: 12.38 kB / 422.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.1073, allocations: 20.38 kB / 422.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.1076, allocations: 153.5 kB / 422.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1076, allocations: 0 / 422.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1076, allocations: 12 kB / 422.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1076, allocations: 8 kB / 422.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.1079, allocations: 103.7 kB / 422.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.1088, allocations: 0.5811 MB / 423 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.109, allocations: 114.5 kB / 423.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.1091, allocations: 44.83 kB / 423.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1092, allocations: 4 kB / 423.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1092, allocations: 34.56 kB / 423.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.1092, allocations: 0 / 423.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001617/0.1108, allocations: 0.8004 MB / 424 MB, free: 6.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1108, allocations: 51.41 kB / 424.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.111, allocations: 162.8 kB / 424.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.111, allocations: 25.7 kB / 424.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.1111, allocations: 128.5 kB / 424.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.1112, allocations: 71.42 kB / 424.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.1112, allocations: 37.7 kB / 424.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1114, allocations: 330.8 kB / 424.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1115, allocations: 43.97 kB / 424.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.1116, allocations: 71.41 kB / 424.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.1119, allocations: 137.8 kB / 425.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1119, allocations: 3.938 kB / 425.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004096/0.1123, allocations: 206.2 kB / 425.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1123, allocations: 6.031 kB / 425.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1123, allocations: 4 kB / 425.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/0.1125, allocations: 44.89 kB / 425.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.1126, allocations: 31.92 kB / 425.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.1141, allocations: 1.535 MB / 426.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.1142, allocations: 8.031 kB / 426.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1142, allocations: 4 kB / 426.9 MB, free: 2.953 MB / 350.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.0001394/0.1143, allocations: 133.8 kB / 427 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.1144, allocations: 19.97 kB / 427.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.1144, allocations: 21.19 kB / 427.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1144, allocations: 4.031 kB / 427.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1144, allocations: 7.938 kB / 427.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1144, allocations: 0 / 427.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008904/0.1153, allocations: 0.5839 MB / 427.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1153, allocations: 0 / 427.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.1155, allocations: 39.92 kB / 427.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.1156, allocations: 28.84 kB / 427.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1156, allocations: 4.188 kB / 427.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.1169, allocations: 1.477 MB / 429.2 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1169, allocations: 0 / 429.2 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.1174, allocations: 342.5 kB / 429.5 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.846e-05/0.1175, allocations: 89.05 kB / 429.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1175, allocations: 7.938 kB / 429.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1176, allocations: 7.984 kB / 429.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1177, allocations: 15.98 kB / 429.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1177, allocations: 0 / 429.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1178, allocations: 119.2 kB / 429.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1178, allocations: 0 / 429.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.1181, allocations: 51.94 kB / 429.8 MB, free: 15.76 MB / 366.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.0008672/0.119, allocations: 0.8655 MB / 430.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005383/0.1195, allocations: 262.4 kB / 431 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1195, allocations: 0 / 431 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.1198, allocations: 188.4 kB / 431.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1202, allocations: 26.8 kB / 431.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.123, allocations: 2.138 MB / 433.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1233, allocations: 0.7281 MB / 434 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.487e-05/0.1234, allocations: 13.55 kB / 434 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.737e-05/0.1235, allocations: 47.42 kB / 434.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1235, allocations: 0 / 434.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.1552, allocations: 3.791 MB / 437.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.5, allocations: 13.36 kB / 437.9 MB, free: 7.645 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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: 13.138552932068706]