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.0009978/0.0009978, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001025/0.001025, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.34/1.34, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 46.98 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.09793, allocations: 49.44 MB / 350.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003624/0.1016, allocations: 2.117 MB / 352.3 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009716/0.1026, allocations: 0.5415 MB / 352.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.1028, allocations: 4 kB / 352.8 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.103, allocations: 35.66 kB / 352.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1032, allocations: 51.55 kB / 352.9 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1034, allocations: 51.89 kB / 353 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.1037, allocations: 203.1 kB / 353.2 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.1039, allocations: 81.48 kB / 353.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1041, allocations: 67.73 kB / 353.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.1042, allocations: 91.67 kB / 353.4 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.1043, allocations: 19.94 kB / 353.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.762e-05/0.1043, allocations: 16 kB / 353.4 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.1043, allocations: 31.91 kB / 353.5 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.1045, allocations: 95.55 kB / 353.5 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1047, allocations: 211.5 kB / 353.8 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1047, allocations: 3.938 kB / 353.8 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1047, allocations: 0 / 353.8 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1048, allocations: 0 / 353.8 MB, free: 0.7031 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.0006489/0.1054, allocations: 473.5 kB / 354.2 MB, free: 200 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1055, allocations: 12.03 kB / 354.2 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/0.1055, allocations: 46.73 kB / 354.3 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.1056, allocations: 24.66 kB / 354.3 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1058, allocations: 216.1 kB / 354.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1058, allocations: 12.38 kB / 354.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.1059, allocations: 20.28 kB / 354.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.1062, allocations: 153.3 kB / 354.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.1062, allocations: 12 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.1062, allocations: 4 kB / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1063, allocations: 7.984 kB / 354.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.1065, allocations: 99.89 kB / 354.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008915/0.1074, allocations: 0.5926 MB / 355.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.1077, allocations: 110.6 kB / 355.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.1078, allocations: 40.84 kB / 355.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1078, allocations: 0 / 355.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.1078, allocations: 46.48 kB / 355.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/0.1078, allocations: 0 / 355.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001559/0.1094, allocations: 0.8011 MB / 356.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.1095, allocations: 55.41 kB / 356.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1096, allocations: 158.2 kB / 356.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1097, allocations: 25.7 kB / 356.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.1097, allocations: 132.3 kB / 356.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.1098, allocations: 67 kB / 356.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.1099, allocations: 37.7 kB / 356.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.11, allocations: 334.8 kB / 357.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.1101, allocations: 43.97 kB / 357.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1102, allocations: 78.41 kB / 357.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.1105, allocations: 131.4 kB / 357.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1105, allocations: 0 / 357.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003857/0.1109, allocations: 213.3 kB / 357.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1109, allocations: 4 kB / 357.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1109, allocations: 0 / 357.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.1111, allocations: 40.91 kB / 357.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1112, allocations: 39.91 kB / 357.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.1126, allocations: 1.527 MB / 359.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.84e-05/0.1127, allocations: 8.219 kB / 359.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.1127, allocations: 8 kB / 359.3 MB, free: 10.69 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.0001125/0.1128, allocations: 129.8 kB / 359.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.1129, allocations: 19.88 kB / 359.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.1129, allocations: 25.17 kB / 359.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1129, allocations: 0 / 359.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1129, allocations: 3.938 kB / 359.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1129, allocations: 0 / 359.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/0.1137, allocations: 0.5862 MB / 360 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1137, allocations: 3.984 kB / 360 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1139, allocations: 35.92 kB / 360.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.114, allocations: 32.88 kB / 360.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.114, allocations: 4 kB / 360.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.115, allocations: 1.477 MB / 361.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1151, allocations: 0 / 361.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.1156, allocations: 343.8 kB / 361.9 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.1156, allocations: 88.95 kB / 362 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1157, allocations: 8 kB / 362 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.1158, allocations: 3.984 kB / 362 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.1158, allocations: 20.11 kB / 362 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.1158, allocations: 4 kB / 362 MB, free: 7.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1159, allocations: 120.1 kB / 362.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.116, allocations: 0 / 362.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.1162, allocations: 51.94 kB / 362.2 MB, free: 7.492 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.0008283/0.1171, allocations: 0.8717 MB / 363.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.1176, allocations: 266.4 kB / 363.3 MB, free: 6.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1176, allocations: 0 / 363.3 MB, free: 6.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.1179, allocations: 190.9 kB / 363.5 MB, free: 6.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1183, allocations: 40.08 kB / 363.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.1207, allocations: 2.107 MB / 365.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.1211, allocations: 0.7281 MB / 366.4 MB, free: 3.117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.001e-05/0.1211, allocations: 17.55 kB / 366.4 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.1212, allocations: 55.41 kB / 366.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1212, allocations: 0 / 366.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1712/0.2924, allocations: 3.653 MB / 370.1 MB, free: 25.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.155/9.448, allocations: 4.062 kB / 370.1 MB, free: 25.5 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