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.00185/0.00185, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.002235/0.002235, allocations: 191.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.571/2.571, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001607/0.001607, allocations: 60.12 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1376, allocations: 46.62 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.006966/0.1446, allocations: 2.101 MB / 329.5 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1466, allocations: 0.5813 MB / 330.1 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.1469, allocations: 4 kB / 330.1 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.1473, allocations: 35.66 kB / 330.1 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.1476, allocations: 59.48 kB / 330.2 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.148, allocations: 47.94 kB / 330.2 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000449/0.1484, allocations: 203.1 kB / 330.4 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.1488, allocations: 73.62 kB / 330.5 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.149, allocations: 71.78 kB / 330.5 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.1493, allocations: 79.62 kB / 330.6 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.1494, allocations: 20 kB / 330.6 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.09e-05/0.1495, allocations: 20 kB / 330.7 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.1496, allocations: 39.84 kB / 330.7 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.1498, allocations: 95.47 kB / 330.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.1502, allocations: 207.5 kB / 331 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1503, allocations: 0 / 331 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1503, allocations: 0 / 331 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.1503, allocations: 4 kB / 331 MB, free: 0.7227 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.00124/0.1516, allocations: 482.6 kB / 331.5 MB, free: 208 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.874e-05/0.1516, allocations: 12.03 kB / 331.5 MB, free: 196 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.979e-05/0.1518, allocations: 50.73 kB / 331.5 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.1519, allocations: 16.75 kB / 331.5 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.1523, allocations: 220 kB / 331.8 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.1524, allocations: 12.38 kB / 331.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.1525, allocations: 20.38 kB / 331.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.1531, allocations: 153.5 kB / 331.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.1531, allocations: 3.938 kB / 332 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.1532, allocations: 16 kB / 332 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1532, allocations: 4 kB / 332 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.1537, allocations: 103.7 kB / 332.1 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.1554, allocations: 0.6004 MB / 332.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.1558, allocations: 118.6 kB / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.156, allocations: 40.84 kB / 332.8 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1561, allocations: 3.938 kB / 332.8 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.1561, allocations: 34.56 kB / 332.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.465e-06/0.1561, allocations: 0 / 332.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002896/0.159, allocations: 0.7952 MB / 333.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.757e-05/0.1592, allocations: 59.31 kB / 333.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.1595, allocations: 154.2 kB / 333.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.1595, allocations: 37.64 kB / 333.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.1597, allocations: 128.3 kB / 334 MB, free: 13.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.1598, allocations: 63.08 kB / 334.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.1599, allocations: 33.72 kB / 334.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.1602, allocations: 330.8 kB / 334.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.1604, allocations: 51.92 kB / 334.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.1606, allocations: 79.34 kB / 334.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.1611, allocations: 128.7 kB / 334.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1611, allocations: 7.938 kB / 334.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007528/0.1619, allocations: 206.8 kB / 334.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1619, allocations: 4 kB / 334.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.162, allocations: 0 / 334.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/0.1623, allocations: 40.77 kB / 335 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.1626, allocations: 36.05 kB / 335 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.1652, allocations: 1.539 MB / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.1654, allocations: 3.984 kB / 336.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.1654, allocations: 15.98 kB / 336.5 MB, free: 10.68 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.0002643/0.1657, allocations: 129.8 kB / 336.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.1658, allocations: 11.91 kB / 336.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.756e-05/0.1659, allocations: 21.25 kB / 336.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.1659, allocations: 4 kB / 336.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.1659, allocations: 3.938 kB / 336.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.166, allocations: 3.984 kB / 336.7 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.1676, allocations: 0.5838 MB / 337.3 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1677, allocations: 4 kB / 337.3 MB, free: 9.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.1679, allocations: 31.92 kB / 337.3 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/0.1682, allocations: 36.83 kB / 337.4 MB, free: 9.77 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1682, allocations: 0 / 337.4 MB, free: 9.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.1702, allocations: 1.477 MB / 338.9 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1702, allocations: 0 / 338.9 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000916/0.1712, allocations: 340 kB / 339.2 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.332e-05/0.1713, allocations: 93.03 kB / 339.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.1714, allocations: 4 kB / 339.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.1716, allocations: 4 kB / 339.3 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.1717, allocations: 11.98 kB / 339.3 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.1717, allocations: 8.062 kB / 339.3 MB, free: 7.664 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.1719, allocations: 119.2 kB / 339.4 MB, free: 7.547 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.049e-06/0.1719, allocations: 0 / 339.4 MB, free: 7.547 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005959/0.1725, allocations: 51.88 kB / 339.5 MB, free: 7.496 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.001424/0.174, allocations: 0.8645 MB / 340.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009112/0.1749, allocations: 276.3 kB / 340.6 MB, free: 6.324 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.1749, allocations: 0 / 340.6 MB, free: 6.324 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.1755, allocations: 190.5 kB / 340.8 MB, free: 6.125 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007777/0.1763, allocations: 32.3 kB / 340.8 MB, free: 6.094 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/0.1816, allocations: 2.116 MB / 342.9 MB, free: 3.871 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.1823, allocations: 0.7359 MB / 343.7 MB, free: 3.105 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.1825, allocations: 13.55 kB / 343.7 MB, free: 3.094 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.1826, allocations: 51.42 kB / 343.7 MB, free: 3.043 MB / 286.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1827, allocations: 0 / 343.7 MB, free: 3.043 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04938/0.2321, allocations: 3.657 MB / 347.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/15.48, allocations: 19.64 kB / 347.4 MB, free: 15.3 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