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.001081/0.001081, allocations: 94.02 kB / 16.65 MB, free: 6.586 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.001067/0.001067, allocations: 181.2 kB / 17.56 MB, free: 6.203 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.411/1.411, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002858, allocations: 8 kB / 301.5 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 50.42 MB / 351.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00265/0.1087, allocations: 1.808 MB / 353.8 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1098, allocations: 0.5143 MB / 354.3 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.11, allocations: 4 kB / 354.3 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.1102, allocations: 27.78 kB / 354.3 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.1104, allocations: 47.61 kB / 354.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.1106, allocations: 43.97 kB / 354.4 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.111, allocations: 199.1 kB / 354.6 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.1112, allocations: 65.48 kB / 354.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1114, allocations: 59.73 kB / 354.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.1115, allocations: 87.48 kB / 354.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.1116, allocations: 8 kB / 354.8 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.814e-05/0.1116, allocations: 12 kB / 354.8 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/0.1117, allocations: 19.92 kB / 354.8 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1118, allocations: 109.2 kB / 354.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.112, allocations: 195.5 kB / 355.1 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.112, allocations: 0 / 355.1 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.112, allocations: 0 / 355.1 MB, free: 412 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.112, allocations: 4 kB / 355.1 MB, free: 408 kB / 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.0007156/0.1128, allocations: 442.9 kB / 355.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1128, allocations: 20.02 kB / 355.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.507e-05/0.1129, allocations: 50.73 kB / 355.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.113, allocations: 16.75 kB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.1133, allocations: 220 kB / 355.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1133, allocations: 16.38 kB / 355.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.1134, allocations: 16.38 kB / 355.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.1137, allocations: 161.5 kB / 356.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1138, allocations: 0 / 356.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1138, allocations: 4 kB / 356.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1138, allocations: 8 kB / 356.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.1141, allocations: 107.9 kB / 356.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009515/0.115, allocations: 0.6004 MB / 356.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.1153, allocations: 114 kB / 356.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.1155, allocations: 44.84 kB / 356.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1155, allocations: 4 kB / 356.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1155, allocations: 38.55 kB / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.1155, allocations: 0 / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001654/0.1172, allocations: 0.7944 MB / 357.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1173, allocations: 55.41 kB / 357.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1174, allocations: 154.2 kB / 358 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1174, allocations: 25.7 kB / 358 MB, free: 13.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.1175, allocations: 148.1 kB / 358.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/0.1176, allocations: 59.09 kB / 358.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.1177, allocations: 33.64 kB / 358.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1179, allocations: 326.8 kB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.118, allocations: 43.98 kB / 358.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1181, allocations: 82.39 kB / 358.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.1184, allocations: 135.3 kB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1184, allocations: 3.938 kB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004092/0.1188, allocations: 225.3 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1188, allocations: 6.656 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1188, allocations: 3.984 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.119, allocations: 32.84 kB / 359.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1192, allocations: 39.97 kB / 359.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.1206, allocations: 1.417 MB / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.421e-05/0.1207, allocations: 11.98 kB / 360.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.1207, allocations: 4 kB / 360.5 MB, free: 10.5 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.0001265/0.1208, allocations: 137.8 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.1209, allocations: 15.81 kB / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.1209, allocations: 21.19 kB / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1209, allocations: 0 / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1209, allocations: 3.984 kB / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1209, allocations: 0 / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008363/0.1218, allocations: 0.5955 MB / 361.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1218, allocations: 0 / 361.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.122, allocations: 31.98 kB / 361.3 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/0.1222, allocations: 36.83 kB / 361.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1222, allocations: 0 / 361.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.1233, allocations: 1.371 MB / 362.8 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1233, allocations: 4.062 kB / 362.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.1238, allocations: 354.7 kB / 363.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.1239, allocations: 88.95 kB / 363.2 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1239, allocations: 8 kB / 363.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.124, allocations: 11.98 kB / 363.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.1241, allocations: 19.92 kB / 363.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1241, allocations: 0 / 363.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.599e-05/0.1242, allocations: 124.1 kB / 363.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1242, allocations: 0 / 363.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003594/0.1246, allocations: 48 kB / 363.4 MB, free: 7.398 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.0008341/0.1254, allocations: 0.8792 MB / 364.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.1259, allocations: 258.5 kB / 364.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1259, allocations: 3.938 kB / 364.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.1262, allocations: 186.7 kB / 364.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.1267, allocations: 31.55 kB / 364.7 MB, free: 6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.1295, allocations: 2.263 MB / 367 MB, free: 3.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1299, allocations: 0.7284 MB / 367.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.901e-05/0.13, allocations: 17.55 kB / 367.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.255e-05/0.13, allocations: 47.42 kB / 367.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1301, allocations: 0 / 367.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1981/0.3281, allocations: 3.361 MB / 371.2 MB, free: 24.05 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/0.3284, allocations: 220.1 kB / 371.4 MB, free: 23.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.327, allocations: 0.7188 kB / 371.4 MB, free: 23.8 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