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.001269/0.001269, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001486/0.001486, allocations: 191.3 kB / 17.43 MB, free: 6.066 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.214/1.214, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009187/0.0009188, allocations: 47.81 kB / 300.1 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07712/0.07805, allocations: 49.45 MB / 349.5 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002776/0.08085, allocations: 2.171 MB / 351.7 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007325/0.0816, allocations: 0.5298 MB / 352.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.08173, allocations: 7.938 kB / 352.2 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.08188, allocations: 19.84 kB / 352.2 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.08199, allocations: 47.62 kB / 352.3 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.08214, allocations: 43.97 kB / 352.3 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.08234, allocations: 195.1 kB / 352.5 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.08248, allocations: 65.56 kB / 352.6 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.339e-05/0.08256, allocations: 67.73 kB / 352.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.08267, allocations: 83.61 kB / 352.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.0827, allocations: 12 kB / 352.7 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.789e-05/0.08273, allocations: 12 kB / 352.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.08277, allocations: 35.84 kB / 352.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.19e-05/0.08285, allocations: 75.61 kB / 352.9 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.08303, allocations: 207.5 kB / 353.1 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.08304, allocations: 4 kB / 353.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.08304, allocations: 0 / 353.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.08305, allocations: 0 / 353.1 MB, free: 0.9648 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.0005532/0.08361, allocations: 466.9 kB / 353.5 MB, free: 472 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.08365, allocations: 12.03 kB / 353.5 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.0837, allocations: 50.73 kB / 353.6 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.08375, allocations: 24.66 kB / 353.6 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.08393, allocations: 216.1 kB / 353.8 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.08395, allocations: 8.375 kB / 353.8 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.08399, allocations: 28.22 kB / 353.9 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.08428, allocations: 153.5 kB / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.0843, allocations: 11.98 kB / 354 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.08432, allocations: 8 kB / 354 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.08433, allocations: 4 kB / 354 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.08455, allocations: 103.9 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.08531, allocations: 0.5927 MB / 354.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.08552, allocations: 114.6 kB / 354.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/0.08562, allocations: 44.83 kB / 354.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.08564, allocations: 0 / 354.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.08567, allocations: 38.56 kB / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.08567, allocations: 0 / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001305/0.08698, allocations: 0.7957 MB / 355.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.08702, allocations: 55.41 kB / 355.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.08715, allocations: 154.2 kB / 355.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.08717, allocations: 33.64 kB / 355.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.08724, allocations: 132.3 kB / 356.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.08729, allocations: 67 kB / 356.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.08735, allocations: 37.7 kB / 356.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.08745, allocations: 330.8 kB / 356.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.59e-05/0.08755, allocations: 47.97 kB / 356.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.08767, allocations: 71.41 kB / 356.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.08787, allocations: 127.3 kB / 356.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.08788, allocations: 4 kB / 356.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003471/0.08823, allocations: 217.6 kB / 357 MB, free: 12.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.08825, allocations: 4 kB / 357 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.08826, allocations: 4 kB / 357 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.08841, allocations: 36.83 kB / 357 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.08856, allocations: 31.98 kB / 357 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.0896, allocations: 1.418 MB / 358.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.0897, allocations: 8.031 kB / 358.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.08972, allocations: 8.062 kB / 358.5 MB, free: 11.07 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.0001007/0.08982, allocations: 137.7 kB / 358.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.08986, allocations: 11.81 kB / 358.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.08991, allocations: 25.17 kB / 358.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.08992, allocations: 4 kB / 358.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.08992, allocations: 0 / 358.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.08993, allocations: 0 / 358.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.09063, allocations: 0.5979 MB / 359.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.09064, allocations: 3.938 kB / 359.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.09079, allocations: 27.98 kB / 359.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/0.0909, allocations: 32.83 kB / 359.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.09092, allocations: 12 kB / 359.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008853/0.09181, allocations: 1.359 MB / 360.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.09183, allocations: 64 / 360.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.09227, allocations: 344 kB / 361 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.09232, allocations: 96.88 kB / 361.1 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.09235, allocations: 4 kB / 361.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.09245, allocations: 8 kB / 361.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.09249, allocations: 12.05 kB / 361.1 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.09251, allocations: 8 kB / 361.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.09259, allocations: 124.1 kB / 361.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.09259, allocations: 0 / 361.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.09287, allocations: 44 kB / 361.3 MB, free: 7.988 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.0007174/0.0936, allocations: 0.8795 MB / 362.2 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.09404, allocations: 250.5 kB / 362.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.09406, allocations: 4 kB / 362.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.09431, allocations: 190.9 kB / 362.6 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.09468, allocations: 23.92 kB / 362.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.09712, allocations: 2.193 MB / 364.8 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.09743, allocations: 0.7323 MB / 365.6 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.755e-05/0.09751, allocations: 17.55 kB / 365.6 MB, free: 3.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/0.09759, allocations: 47.42 kB / 365.6 MB, free: 3.484 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09759, allocations: 0 / 365.6 MB, free: 3.484 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1959/0.2935, allocations: 3.456 MB / 369.1 MB, free: 156 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1553/0.4488, allocations: 230.3 kB / 369.3 MB, free: 29.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.269, allocations: 0 / 369.3 MB, free: 29.04 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