Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.44 kB / 306.6 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09616, allocations: 50.53 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003691/0.09988, allocations: 2.175 MB / 359.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1014, allocations: 0.5805 MB / 359.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.1016, allocations: 4 kB / 359.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.1019, allocations: 27.78 kB / 359.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1021, allocations: 43.61 kB / 359.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1023, allocations: 43.97 kB / 360 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.1027, allocations: 203.1 kB / 360.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.103, allocations: 73.62 kB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1031, allocations: 75.72 kB / 360.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.1033, allocations: 79.62 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.1033, allocations: 16 kB / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.861e-05/0.1034, allocations: 16 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.1034, allocations: 43.84 kB / 360.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1036, allocations: 91.53 kB / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.1038, allocations: 207.5 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1038, allocations: 4 kB / 360.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1038, allocations: 0 / 360.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1038, allocations: 0 / 360.7 MB, free: 10.61 MB / 302.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.0007334/0.1046, allocations: 470.9 kB / 361.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1046, allocations: 8.031 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.1047, allocations: 54.73 kB / 361.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.1047, allocations: 24.66 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.105, allocations: 220.1 kB / 361.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.105, allocations: 12.38 kB / 361.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.105, allocations: 24.22 kB / 361.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.1054, allocations: 157.5 kB / 361.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.1055, allocations: 7.922 kB / 361.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.1055, allocations: 7.938 kB / 361.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1055, allocations: 4 kB / 361.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.1057, allocations: 103.9 kB / 361.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009351/0.1067, allocations: 0.5924 MB / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.107, allocations: 118.6 kB / 362.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.032e-05/0.1071, allocations: 44.34 kB / 362.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1071, allocations: 4 kB / 362.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1072, allocations: 34.5 kB / 362.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.1072, allocations: 0 / 362.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001626/0.1088, allocations: 0.7904 MB / 363.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1089, allocations: 55.41 kB / 363.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.109, allocations: 159.9 kB / 363.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.1091, allocations: 33.7 kB / 363.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.1092, allocations: 128.3 kB / 363.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.1092, allocations: 70.98 kB / 363.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.1093, allocations: 33.72 kB / 363.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1094, allocations: 330.8 kB / 364.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1095, allocations: 43.98 kB / 364.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1096, allocations: 81.59 kB / 364.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.1099, allocations: 125.9 kB / 364.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1099, allocations: 0 / 364.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003736/0.1103, allocations: 210.1 kB / 364.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1103, allocations: 14.66 kB / 364.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1103, allocations: 0 / 364.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.1105, allocations: 40.77 kB / 364.7 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.1107, allocations: 31.98 kB / 364.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.112, allocations: 1.532 MB / 366.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.488e-05/0.1121, allocations: 8.016 kB / 366.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1122, allocations: 12.06 kB / 366.3 MB, free: 4.59 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.0001082/0.1123, allocations: 133.7 kB / 366.4 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.1123, allocations: 15.81 kB / 366.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.1124, allocations: 21.19 kB / 366.4 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1124, allocations: 0 / 366.4 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1124, allocations: 7.938 kB / 366.5 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.1124, allocations: 7.922 kB / 366.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008001/0.1132, allocations: 0.58 MB / 367 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1132, allocations: 4 kB / 367 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.1135, allocations: 28.11 kB / 367.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.1136, allocations: 44.83 kB / 367.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1136, allocations: 0 / 367.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.1147, allocations: 1.477 MB / 368.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1147, allocations: 0 / 368.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.1153, allocations: 340 kB / 368.9 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.1153, allocations: 96.94 kB / 369 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1153, allocations: 0 / 369 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1154, allocations: 8 kB / 369 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.1155, allocations: 7.984 kB / 369 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1155, allocations: 8 kB / 369 MB, free: 1.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.912e-05/0.1156, allocations: 119.2 kB / 369.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1156, allocations: 0 / 369.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.1159, allocations: 43.94 kB / 369.2 MB, free: 1.406 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.0007554/0.1167, allocations: 0.8677 MB / 370.1 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00053/0.1173, allocations: 269.1 kB / 370.3 MB, free: 244 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1173, allocations: 4 kB / 370.3 MB, free: 240 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.1175, allocations: 182.6 kB / 370.5 MB, free: 44 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.118, allocations: 43.66 kB / 370.6 MB, free: 4 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1574/0.2754, allocations: 2.192 MB / 372.7 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.2756, allocations: 0.7324 MB / 373.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.418e-05/0.2757, allocations: 17.08 kB / 373.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.2758, allocations: 50.05 kB / 373.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2758, allocations: 0 / 373.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.823/2.099, allocations: 3.567 MB / 377.1 MB, free: 17.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/2.099, allocations: 220.2 kB / 377.3 MB, free: 17.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/3.926, allocations: 0 / 377.3 MB, free: 17.49 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches