Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001464, 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.001779/0.001779, 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.335/1.335, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1926/0.1926, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 73.23 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/0.0906, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.005761/0.0964, allocations: 5.705 MB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.09922, allocations: 1.834 MB / 487.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.09957, allocations: 23.94 kB / 487.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000956/0.1005, allocations: 0.5252 MB / 488.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1016, allocations: 0.6691 MB / 488.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.164e-05/0.1017, allocations: 15.98 kB / 488.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.1029, allocations: 1.433 MB / 490.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006201/0.1035, allocations: 0.7043 MB / 491 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.1038, allocations: 490 kB / 491.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005898/0.1044, allocations: 0.6731 MB / 492.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1046, allocations: 88 kB / 492.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.105, allocations: 319.5 kB / 492.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.1055, allocations: 0.6582 MB / 493.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.106, allocations: 0.8264 MB / 494.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.1076, allocations: 2.5 MB / 496.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1077, allocations: 0 / 496.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1077, allocations: 0 / 496.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.1077, allocations: 0 / 496.6 MB, free: 4.668 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.002043/0.1097, allocations: 1.955 MB / 498.5 MB, free: 2.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.1098, allocations: 12.03 kB / 498.5 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002878/0.1101, allocations: 344.1 kB / 498.9 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004454/0.1145, allocations: 1.472 MB / 0.4886 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.1156, allocations: 0.8473 MB / 0.4895 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/0.1157, allocations: 86.03 kB / 0.4895 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.1159, allocations: 95.92 kB / 0.4896 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004166/0.12, allocations: 4.622 MB / 0.4941 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.1201, allocations: 19.81 kB / 0.4942 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.1202, allocations: 59.91 kB / 0.4942 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001461/0.1217, allocations: 1.099 MB / 0.4953 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/0.1263, allocations: 4.007 MB / 0.4992 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1608/0.2872, allocations: 18.48 MB / 0.5172 GB, free: 25.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2882, allocations: 1.178 MB / 0.5184 GB, free: 25.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.2886, allocations: 345.9 kB / 0.5187 GB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.2886, allocations: 4.875 kB / 0.5187 GB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.2886, allocations: 37.47 kB / 0.5188 GB, free: 24.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.146e-06/0.2887, allocations: 1.219 kB / 0.5188 GB, free: 24.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001295/0.29, allocations: 1.037 MB / 0.5198 GB, free: 24.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.29, allocations: 106.1 kB / 0.5199 GB, free: 24.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/0.2925, allocations: 2.2 MB / 0.522 GB, free: 23.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2925, allocations: 31.14 kB / 0.5221 GB, free: 23.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006912/0.2932, allocations: 1.62 MB / 0.5236 GB, free: 22.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.2934, allocations: 262.9 kB / 0.5239 GB, free: 22.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006494/0.2941, allocations: 0.6764 MB / 0.5246 GB, free: 21.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.2942, allocations: 357.4 kB / 0.5249 GB, free: 21.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.2954, allocations: 0.8928 MB / 0.5258 GB, free: 21.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.2972, allocations: 3.178 MB / 0.5289 GB, free: 17.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003111/0.3003, allocations: 4.438 MB / 0.5332 GB, free: 13.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-05/0.3004, allocations: 23.88 kB / 0.5332 GB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.004401/0.3048, allocations: 3.839 MB / 0.537 GB, free: 12.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.3048, allocations: 43.38 kB / 0.537 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.203e-05/0.3049, allocations: 82.31 kB / 0.5371 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.512e-05/0.305, allocations: 105.9 kB / 0.5372 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.3066, allocations: 0.7542 MB / 0.5379 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.819e-05/0.3067, allocations: 155.5 kB / 0.5381 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.3083, allocations: 493.2 kB / 0.5385 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.3085, allocations: 229.1 kB / 0.5388 GB, free: 11.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007806/0.3092, allocations: 1.091 MB / 0.5398 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.3094, allocations: 169.3 kB / 0.54 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.3096, allocations: 198 kB / 0.5402 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.3096, allocations: 7.594 kB / 0.5402 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.3096, allocations: 0 / 0.5402 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3096, allocations: 3.703 kB / 0.5402 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.3117, allocations: 2.018 MB / 0.5422 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3117, allocations: 3.938 kB / 0.5422 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.312, allocations: 54.12 kB / 0.5422 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.312, allocations: 10.16 kB / 0.5422 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.312, allocations: 8.656 kB / 0.5422 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.312, allocations: 3.938 kB / 0.5422 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.312, allocations: 3.969 kB / 0.5422 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006721/0.3127, allocations: 1.032 MB / 0.5433 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.3128, allocations: 236.6 kB / 0.5435 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.313, allocations: 13.55 kB / 0.5435 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.3134, allocations: 22.25 kB / 0.5435 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.3135, allocations: 26 kB / 0.5435 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.3135, allocations: 17.47 kB / 0.5436 GB, free: 9.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.3147, allocations: 1.376 MB / 0.5449 GB, free: 8.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3147, allocations: 0 / 0.5449 GB, free: 8.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001572/0.3162, allocations: 491.5 kB / 0.5454 GB, free: 8.141 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000881/0.3171, allocations: 1.637 MB / 0.547 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.319, allocations: 2.139 MB / 0.5491 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.319, allocations: 3.938 kB / 0.5491 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.3192, allocations: 335.7 kB / 0.5494 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007665/0.32, allocations: 175.6 kB / 0.5495 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/0.3375, allocations: 21.41 MB / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.3388, allocations: 1.794 MB / 0.5722 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002104/0.341, allocations: 1.113 MB / 0.5733 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007225/0.3417, allocations: 0.7258 MB / 0.574 GB, free: 7.449 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3417, allocations: 0 / 0.574 GB, free: 7.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7645/1.106, allocations: 28.46 MB / 0.6018 GB, free: 11.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.44, allocations: 8.469 kB / 0.6018 GB, free: 11.12 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches