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.001108/0.001108, allocations: 96.75 kB / 17.3 MB, free: 6.395 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.0009249/0.000925, allocations: 177.5 kB / 18.2 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004421/0.0004421, allocations: 12 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09226, allocations: 47.58 MB / 329 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002382/0.09468, allocations: 1.816 MB / 330.9 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008759/0.09558, allocations: 0.562 MB / 331.4 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.09573, allocations: 4 kB / 331.4 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.09587, allocations: 23.78 kB / 331.5 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.866e-05/0.09597, allocations: 43.62 kB / 331.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.09615, allocations: 47.95 kB / 331.5 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.09638, allocations: 195.1 kB / 331.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.09661, allocations: 61.59 kB / 331.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.612e-05/0.09671, allocations: 63.78 kB / 331.9 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.09684, allocations: 79.58 kB / 331.9 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.09688, allocations: 8 kB / 331.9 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.492e-05/0.09691, allocations: 8 kB / 331.9 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.09696, allocations: 27.86 kB / 332 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.09707, allocations: 113.2 kB / 332.1 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.09731, allocations: 191.6 kB / 332.3 MB, free: 428 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.09732, allocations: 0 / 332.3 MB, free: 428 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09733, allocations: 7.875 kB / 332.3 MB, free: 420 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.09734, allocations: 0 / 332.3 MB, free: 420 kB / 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.0005864/0.09793, allocations: 458.7 kB / 332.7 MB, free: 15.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.09798, allocations: 8.031 kB / 332.7 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.09803, allocations: 50.73 kB / 332.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.09808, allocations: 20.75 kB / 332.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.09833, allocations: 220 kB / 333 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.09837, allocations: 12.38 kB / 333 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.09841, allocations: 16.38 kB / 333 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.09874, allocations: 165.3 kB / 333.2 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.09877, allocations: 3.906 kB / 333.2 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.09879, allocations: 8 kB / 333.2 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.09881, allocations: 4 kB / 333.2 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.09904, allocations: 107.7 kB / 333.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.09996, allocations: 0.6044 MB / 333.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.1002, allocations: 126.6 kB / 334.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.1003, allocations: 40.84 kB / 334.1 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1004, allocations: 7.984 kB / 334.1 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1004, allocations: 30.56 kB / 334.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.1004, allocations: 0 / 334.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001541/0.1019, allocations: 0.8013 MB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.102, allocations: 59.41 kB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1021, allocations: 162.2 kB / 335.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1022, allocations: 29.7 kB / 335.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.061e-05/0.1022, allocations: 128.3 kB / 335.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.1023, allocations: 63.09 kB / 335.4 MB, free: 13.01 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.1024, allocations: 17.72 kB / 335.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1025, allocations: 338.7 kB / 335.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1026, allocations: 43.97 kB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1027, allocations: 79.41 kB / 335.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.103, allocations: 139 kB / 336 MB, free: 12.37 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.103, allocations: 4 kB / 336 MB, free: 12.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003917/0.1034, allocations: 210.1 kB / 336.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1034, allocations: 4 kB / 336.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1034, allocations: 4 kB / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.1036, allocations: 48.83 kB / 336.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.1038, allocations: 27.98 kB / 336.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.1051, allocations: 1.425 MB / 337.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.1053, allocations: 11.97 kB / 337.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1053, allocations: 4.047 kB / 337.7 MB, free: 10.49 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.0001261/0.1054, allocations: 137.7 kB / 337.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.1055, allocations: 15.81 kB / 337.9 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.1055, allocations: 25.17 kB / 337.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1055, allocations: 0 / 337.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1055, allocations: 8.062 kB / 337.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1055, allocations: 0 / 337.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.1064, allocations: 0.5916 MB / 338.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1064, allocations: 4 kB / 338.5 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1066, allocations: 31.97 kB / 338.5 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.1067, allocations: 28.84 kB / 338.5 MB, free: 9.574 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.1068, allocations: 8 kB / 338.6 MB, free: 9.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.1079, allocations: 1.363 MB / 339.9 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1079, allocations: 0 / 339.9 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.1084, allocations: 348 kB / 340.3 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.1085, allocations: 93.12 kB / 340.3 MB, free: 7.602 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.1085, allocations: 8 kB / 340.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.1086, allocations: 4 kB / 340.4 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.1087, allocations: 19.88 kB / 340.4 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1087, allocations: 8 kB / 340.4 MB, free: 7.562 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.823e-05/0.1088, allocations: 115.2 kB / 340.5 MB, free: 7.449 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1088, allocations: 8.062 kB / 340.5 MB, free: 7.441 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.1091, allocations: 40 kB / 340.5 MB, free: 7.402 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.0008735/0.11, allocations: 0.8802 MB / 341.4 MB, free: 6.496 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005741/0.1106, allocations: 254.4 kB / 341.7 MB, free: 6.234 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1106, allocations: 0 / 341.7 MB, free: 6.234 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.1109, allocations: 198.7 kB / 341.9 MB, free: 6.027 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1113, allocations: 29.55 kB / 341.9 MB, free: 6 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.1141, allocations: 2.252 MB / 344.1 MB, free: 3.641 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.1146, allocations: 0.7281 MB / 344.9 MB, free: 2.887 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.87e-05/0.1146, allocations: 17.55 kB / 344.9 MB, free: 2.871 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.1147, allocations: 47.42 kB / 344.9 MB, free: 2.824 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1147, allocations: 3.938 kB / 344.9 MB, free: 2.82 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.1363, allocations: 3.367 MB / 348.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.1365, allocations: 229.7 kB / 348.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.055, allocations: 0 / 348.5 MB, free: 15.19 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches