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.001132/0.001132, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 59.84 kB / 306.3 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09385/0.0951, allocations: 50.53 MB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003385/0.09854, allocations: 2.179 MB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.09987, allocations: 0.5766 MB / 359.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.1001, allocations: 4 kB / 359.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.1004, allocations: 23.78 kB / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1005, allocations: 47.62 kB / 359.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.1007, allocations: 47.89 kB / 359.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.101, allocations: 199.1 kB / 360 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.1012, allocations: 69.58 kB / 360 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.1014, allocations: 63.78 kB / 360.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.1015, allocations: 79.62 kB / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.1016, allocations: 15.94 kB / 360.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.114e-05/0.1016, allocations: 8 kB / 360.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.1016, allocations: 31.86 kB / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.733e-05/0.1017, allocations: 87.58 kB / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1019, allocations: 203.5 kB / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1019, allocations: 0 / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1019, allocations: 0 / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.102, allocations: 0 / 360.5 MB, free: 10.55 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.0007081/0.1027, allocations: 470.9 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1027, allocations: 8.031 kB / 361 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.1028, allocations: 54.73 kB / 361 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.1028, allocations: 28.59 kB / 361 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1031, allocations: 216.1 kB / 361.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1032, allocations: 12.38 kB / 361.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.1032, allocations: 24.28 kB / 361.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.1035, allocations: 157.5 kB / 361.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1035, allocations: 0 / 361.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.1036, allocations: 8 kB / 361.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1036, allocations: 4 kB / 361.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.1038, allocations: 99.94 kB / 361.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.1047, allocations: 0.5963 MB / 362.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.105, allocations: 122.6 kB / 362.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/0.105, allocations: 41.09 kB / 362.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1051, allocations: 8 kB / 362.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.1051, allocations: 30.56 kB / 362.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1051, allocations: 0 / 362.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.00158/0.1067, allocations: 0.7961 MB / 363.1 MB, free: 7.629 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.1067, allocations: 51.41 kB / 363.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1069, allocations: 163.9 kB / 363.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1069, allocations: 29.7 kB / 363.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.107, allocations: 136.3 kB / 363.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.1071, allocations: 63.02 kB / 363.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.1071, allocations: 37.7 kB / 363.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1072, allocations: 330.7 kB / 363.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.1074, allocations: 47.92 kB / 364 MB, free: 6.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.1075, allocations: 74.78 kB / 364.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.1078, allocations: 131.3 kB / 364.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1078, allocations: 4 kB / 364.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004085/0.1082, allocations: 200.2 kB / 364.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1082, allocations: 19.98 kB / 364.4 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1082, allocations: 0 / 364.4 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.1084, allocations: 36.84 kB / 364.4 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1085, allocations: 31.98 kB / 364.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.1097, allocations: 1.421 MB / 365.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.1098, allocations: 8.062 kB / 365.9 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.1098, allocations: 11.98 kB / 365.9 MB, free: 4.645 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.0001729/0.11, allocations: 141.6 kB / 366.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.11, allocations: 19.88 kB / 366.1 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.1101, allocations: 21.19 kB / 366.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1101, allocations: 0 / 366.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1101, allocations: 0 / 366.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1101, allocations: 7.984 kB / 366.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008255/0.1109, allocations: 0.5839 MB / 366.7 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.111, allocations: 3.938 kB / 366.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.1111, allocations: 27.98 kB / 366.7 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/0.1112, allocations: 36.83 kB / 366.8 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1112, allocations: 0 / 366.8 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.1123, allocations: 1.366 MB / 368.1 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.1123, allocations: 0 / 368.1 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.1129, allocations: 342.5 kB / 368.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.1129, allocations: 93.03 kB / 368.5 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.113, allocations: 12 kB / 368.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1131, allocations: 7.969 kB / 368.6 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.1131, allocations: 15.98 kB / 368.6 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.1131, allocations: 4 kB / 368.6 MB, free: 1.727 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1133, allocations: 115.2 kB / 368.7 MB, free: 1.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1133, allocations: 0 / 368.7 MB, free: 1.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.1136, allocations: 48 kB / 368.7 MB, free: 1.566 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.0007778/0.1144, allocations: 0.8653 MB / 369.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.1148, allocations: 258.5 kB / 369.9 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1149, allocations: 0 / 369.9 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.1152, allocations: 186.6 kB / 370 MB, free: 216 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1155, allocations: 38.77 kB / 370.1 MB, free: 180 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1394/0.2549, allocations: 2.176 MB / 372.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.2551, allocations: 0.7324 MB / 373 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.677e-05/0.2552, allocations: 19.7 kB / 373 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.2553, allocations: 51.69 kB / 373.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2553, allocations: 1.125 kB / 373.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3854/0.6407, allocations: 3.459 MB / 376.5 MB, free: 17.58 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.6409, allocations: 235.8 kB / 376.8 MB, free: 17.31 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.4, allocations: 0 / 376.8 MB, free: 17.31 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