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.001145/0.001145, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 62.17 kB / 307 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09566, allocations: 50.54 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003259/0.09895, allocations: 2.117 MB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.09999, allocations: 0.5843 MB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1001, allocations: 4 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1003, allocations: 35.66 kB / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.1004, allocations: 51.55 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.1006, allocations: 47.89 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.1009, allocations: 203.2 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.101, allocations: 77.61 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.746e-05/0.1011, allocations: 75.67 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1012, allocations: 83.61 kB / 360.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.1013, allocations: 16 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.8e-05/0.1013, allocations: 20 kB / 360.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.1014, allocations: 43.84 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.729e-05/0.1014, allocations: 83.61 kB / 361 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1017, allocations: 211.5 kB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1017, allocations: 0 / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1017, allocations: 0 / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1017, allocations: 0 / 361.2 MB, free: 10.36 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.0006917/0.1024, allocations: 474.8 kB / 361.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1024, allocations: 8.031 kB / 361.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.1025, allocations: 62.67 kB / 361.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.1025, allocations: 20.66 kB / 361.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1027, allocations: 216.1 kB / 362 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1028, allocations: 12.38 kB / 362 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.1028, allocations: 24.28 kB / 362 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.1031, allocations: 149.5 kB / 362.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1031, allocations: 3.938 kB / 362.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.1031, allocations: 8 kB / 362.2 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1031, allocations: 7.984 kB / 362.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.1034, allocations: 103.9 kB / 362.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009015/0.1043, allocations: 0.6002 MB / 362.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.1045, allocations: 118.6 kB / 363 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.1046, allocations: 40.84 kB / 363 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1046, allocations: 4 kB / 363 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1047, allocations: 34.55 kB / 363.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1047, allocations: 0 / 363.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001389/0.1061, allocations: 0.7961 MB / 363.9 MB, free: 7.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.1061, allocations: 55.41 kB / 363.9 MB, free: 7.363 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1063, allocations: 163.9 kB / 364.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.1064, allocations: 29.7 kB / 364.1 MB, free: 7.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.1065, allocations: 132.3 kB / 364.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.1065, allocations: 67 kB / 364.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.1066, allocations: 37.7 kB / 364.3 MB, free: 6.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1067, allocations: 326.8 kB / 364.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1068, allocations: 47.97 kB / 364.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1069, allocations: 78.97 kB / 364.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.1071, allocations: 123.4 kB / 364.9 MB, free: 6.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1071, allocations: 4 kB / 364.9 MB, free: 6.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003671/0.1075, allocations: 213.1 kB / 365.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1075, allocations: 8 kB / 365.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1075, allocations: 0 / 365.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.1077, allocations: 40.83 kB / 365.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1079, allocations: 35.92 kB / 365.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.1091, allocations: 1.536 MB / 366.7 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.076e-05/0.1092, allocations: 4.031 kB / 366.7 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1092, allocations: 8 kB / 366.8 MB, free: 4.328 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 9.775e-05/0.1093, allocations: 133.8 kB / 366.9 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1094, allocations: 11.81 kB / 366.9 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.1094, allocations: 29.11 kB / 366.9 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1094, allocations: 4 kB / 366.9 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1094, allocations: 8 kB / 366.9 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1095, allocations: 3.938 kB / 366.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00072/0.1102, allocations: 0.58 MB / 367.5 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1102, allocations: 3.984 kB / 367.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1103, allocations: 27.98 kB / 367.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.1105, allocations: 36.78 kB / 367.6 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1105, allocations: 4 kB / 367.6 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.1116, allocations: 1.473 MB / 369.1 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1116, allocations: 7.969 kB / 369.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.112, allocations: 338.5 kB / 369.4 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.1121, allocations: 92.95 kB / 369.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1121, allocations: 0 / 369.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1122, allocations: 11.98 kB / 369.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.1123, allocations: 11.92 kB / 369.5 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1123, allocations: 8 kB / 369.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.608e-05/0.1124, allocations: 119.3 kB / 369.6 MB, free: 1.184 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1124, allocations: 4 kB / 369.6 MB, free: 1.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.1127, allocations: 43.94 kB / 369.7 MB, free: 1.137 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.0007518/0.1135, allocations: 0.8653 MB / 370.6 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1498/0.2633, allocations: 255.3 kB / 370.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.2633, allocations: 0 / 370.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.2637, allocations: 189.7 kB / 371 MB, free: 19.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.2641, allocations: 27.34 kB / 371 MB, free: 19.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.2664, allocations: 2.137 MB / 373.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.2666, allocations: 0.7328 MB / 373.9 MB, free: 17.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.506e-05/0.2667, allocations: 18.17 kB / 373.9 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.2667, allocations: 50.58 kB / 373.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2667, allocations: 0 / 373.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07201/0.3388, allocations: 3.67 MB / 377.6 MB, free: 16.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.25, allocations: 5.938 kB / 377.6 MB, free: 16.93 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