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) 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 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001493/0.001493, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241.2 MB, free: 15.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 51.95 kB / 300.2 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08192/0.08296, allocations: 49.45 MB / 349.7 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003266/0.08626, allocations: 2.159 MB / 351.8 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.08723, allocations: 0.5337 MB / 352.4 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.08742, allocations: 7.938 kB / 352.4 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.08761, allocations: 23.84 kB / 352.4 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.08776, allocations: 35.64 kB / 352.4 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.08796, allocations: 51.94 kB / 352.5 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.08822, allocations: 207.1 kB / 352.7 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.0884, allocations: 81.5 kB / 352.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.08851, allocations: 83.64 kB / 352.9 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.08864, allocations: 75.64 kB / 352.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.08868, allocations: 16 kB / 352.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.092e-05/0.08871, allocations: 16 kB / 353 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.08876, allocations: 35.91 kB / 353 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.374e-05/0.08885, allocations: 95.53 kB / 353.1 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.08907, allocations: 207.5 kB / 353.3 MB, free: 1.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.08909, allocations: 0 / 353.3 MB, free: 1.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.08909, allocations: 4 kB / 353.3 MB, free: 1.016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.08911, allocations: 0 / 353.3 MB, free: 1.016 MB / 286.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.000652/0.08977, allocations: 466.9 kB / 353.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.08983, allocations: 12.03 kB / 353.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.08989, allocations: 50.73 kB / 353.8 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.08994, allocations: 24.66 kB / 353.8 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.09017, allocations: 224 kB / 354.1 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.09019, allocations: 12.38 kB / 354.1 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.09024, allocations: 20.28 kB / 354.1 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.09056, allocations: 157.5 kB / 354.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.09058, allocations: 4 kB / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.09061, allocations: 4 kB / 354.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.09062, allocations: 11.94 kB / 354.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.09085, allocations: 107.9 kB / 354.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008394/0.0917, allocations: 0.5849 MB / 355 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.09193, allocations: 118.6 kB / 355.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.09202, allocations: 40.84 kB / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.09204, allocations: 0 / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.09208, allocations: 38.56 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.09208, allocations: 3.938 kB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001529/0.09362, allocations: 0.793 MB / 355.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.09367, allocations: 63.33 kB / 356 MB, free: 14.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.09383, allocations: 158.2 kB / 356.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.09386, allocations: 29.7 kB / 356.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.09394, allocations: 132.3 kB / 356.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.094, allocations: 67 kB / 356.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.09406, allocations: 33.72 kB / 356.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.09418, allocations: 330.8 kB / 356.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.09428, allocations: 43.98 kB / 356.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.09441, allocations: 71.41 kB / 356.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.09463, allocations: 131.3 kB / 357 MB, free: 12.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.09464, allocations: 0 / 357 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003771/0.09502, allocations: 206.1 kB / 357.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.09506, allocations: 11.19 kB / 357.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.09507, allocations: 4 kB / 357.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.09525, allocations: 40.83 kB / 357.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.09542, allocations: 27.98 kB / 357.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.09668, allocations: 1.539 MB / 358.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.166e-05/0.09678, allocations: 8.016 kB / 358.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.09681, allocations: 12.06 kB / 358.8 MB, free: 10.99 MB / 302.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.000126/0.09694, allocations: 129.8 kB / 359 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.09699, allocations: 15.81 kB / 359 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.09703, allocations: 21.19 kB / 359 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.09704, allocations: 0 / 359 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.09705, allocations: 3.938 kB / 359 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.09706, allocations: 7.984 kB / 359 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007757/0.09784, allocations: 0.5839 MB / 359.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.09786, allocations: 0 / 359.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.09801, allocations: 27.98 kB / 359.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.09814, allocations: 40.83 kB / 359.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.09816, allocations: 3.938 kB / 359.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.09921, allocations: 1.477 MB / 361.1 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.09922, allocations: 3.938 kB / 361.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.09971, allocations: 348 kB / 361.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.09977, allocations: 92.91 kB / 361.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.0998, allocations: 4 kB / 361.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.983e-05/0.0999, allocations: 4 kB / 361.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.09996, allocations: 11.98 kB / 361.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.09998, allocations: 4 kB / 361.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.696e-05/0.1001, allocations: 124.1 kB / 361.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1001, allocations: 0 / 361.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003058/0.1004, allocations: 47.94 kB / 361.8 MB, free: 7.801 MB / 302.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.000772/0.1012, allocations: 0.8757 MB / 362.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005018/0.1017, allocations: 266.6 kB / 362.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1017, allocations: 0 / 362.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.102, allocations: 190.6 kB / 363.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1024, allocations: 27.92 kB / 363.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.105, allocations: 2.191 MB / 365.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.1053, allocations: 0.7281 MB / 366 MB, free: 3.355 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.66e-05/0.1054, allocations: 17.55 kB / 366 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.1055, allocations: 47.42 kB / 366.1 MB, free: 3.293 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1055, allocations: 0 / 366.1 MB, free: 3.293 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2523/0.3578, allocations: 3.554 MB / 369.6 MB, free: 26.25 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.358, allocations: 225.7 kB / 369.9 MB, free: 26 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.188, allocations: 1.219 kB / 369.9 MB, free: 26 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/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) Reference file matches