Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002145/0.002145, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.003137/0.003137, allocations: 211 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 47.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2525, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003913/0.2564, allocations: 2.028 MB / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2577, allocations: 0.5493 MB / 433.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.2579, allocations: 7.938 kB / 433.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.2581, allocations: 35.66 kB / 433.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.2583, allocations: 59.48 kB / 433.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2585, allocations: 47.95 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.2588, allocations: 211 kB / 434 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.259, allocations: 41.78 kB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.2591, allocations: 75.78 kB / 434.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.2593, allocations: 71.62 kB / 434.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.2593, allocations: 16 kB / 434.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-05/0.2593, allocations: 16 kB / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.2594, allocations: 47.78 kB / 434.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.2595, allocations: 79.66 kB / 434.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.2598, allocations: 212.8 kB / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2598, allocations: 0 / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2598, allocations: 0 / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.2598, allocations: 0 / 434.6 MB, free: 3.148 MB / 334.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.0007319/0.2606, allocations: 405.5 kB / 434.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2606, allocations: 8.031 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.2607, allocations: 50.73 kB / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.2607, allocations: 20.84 kB / 435 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.2611, allocations: 166.1 kB / 435.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.2611, allocations: 20.16 kB / 435.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.2612, allocations: 16.38 kB / 435.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.2615, allocations: 157.6 kB / 435.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.2615, allocations: 3.984 kB / 435.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.2616, allocations: 11.98 kB / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2616, allocations: 4 kB / 435.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.2618, allocations: 103.7 kB / 435.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.2627, allocations: 0.5217 MB / 436 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.263, allocations: 102.6 kB / 436.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.717e-05/0.2631, allocations: 40.78 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.2631, allocations: 4 kB / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.2631, allocations: 30.56 kB / 436.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2631, allocations: 0 / 436.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001568/0.2647, allocations: 0.6503 MB / 436.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.2648, allocations: 55.41 kB / 436.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.2649, allocations: 154.2 kB / 437 MB, free: 444 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.265, allocations: 29.7 kB / 437.1 MB, free: 408 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2651, allocations: 136.3 kB / 437.2 MB, free: 268 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.2651, allocations: 71.38 kB / 437.3 MB, free: 196 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.2652, allocations: 37.7 kB / 437.3 MB, free: 152 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.2654, allocations: 326.8 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.2655, allocations: 43.98 kB / 437.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.2657, allocations: 77.41 kB / 437.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.2659, allocations: 127.3 kB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2659, allocations: 4 kB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004155/0.2663, allocations: 209.6 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2664, allocations: 11.98 kB / 438.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2664, allocations: 0 / 438.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.2665, allocations: 40.78 kB / 438.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.2667, allocations: 31.98 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.2682, allocations: 1.428 MB / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.055e-05/0.2683, allocations: 8.031 kB / 439.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2683, allocations: 4 kB / 439.6 MB, free: 13.7 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.0001427/0.2684, allocations: 129.8 kB / 439.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.2685, allocations: 15.91 kB / 439.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/0.2685, allocations: 25.11 kB / 439.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2685, allocations: 0 / 439.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2685, allocations: 11.88 kB / 439.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2686, allocations: 4.062 kB / 439.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008993/0.2695, allocations: 0.5314 MB / 440.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2695, allocations: 3.938 kB / 440.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.2696, allocations: 27.98 kB / 440.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.2697, allocations: 36.83 kB / 440.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2698, allocations: 0 / 440.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.2711, allocations: 1.381 MB / 441.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2711, allocations: 0 / 441.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.2716, allocations: 340 kB / 442.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.2716, allocations: 11.94 kB / 442.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.2717, allocations: 8 kB / 442.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.2718, allocations: 4 kB / 442.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.2718, allocations: 16.09 kB / 442.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.2718, allocations: 4 kB / 442.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.2719, allocations: 124.1 kB / 442.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2719, allocations: 0 / 442.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.2722, allocations: 51.94 kB / 442.3 MB, free: 10.78 MB / 350.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.0008987/0.2731, allocations: 0.8605 MB / 443.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005505/0.2737, allocations: 254.5 kB / 443.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2737, allocations: 7.875 kB / 443.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.274, allocations: 182.6 kB / 443.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.2743, allocations: 26.77 kB / 443.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.2772, allocations: 2.153 MB / 445.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.2774, allocations: 120.2 kB / 445.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.2775, allocations: 13.48 kB / 445.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2776, allocations: 55.42 kB / 446 MB, free: 6.953 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2776, allocations: 0 / 446 MB, free: 6.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.3139, allocations: 4.366 MB / 450.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.83, allocations: 3.984 kB / 450.3 MB, free: 2.734 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.434386843815446]