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.001178/0.001178, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007955/0.3239, allocations: 5.718 MB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.3281, allocations: 1.832 MB / 0.5379 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008164/0.329, allocations: 19.59 kB / 0.5379 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.3305, allocations: 0.5266 MB / 0.5384 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.333, allocations: 0.6707 MB / 0.5391 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.3333, allocations: 24.08 kB / 0.5391 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.3363, allocations: 1.423 MB / 0.5405 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.3376, allocations: 0.7134 MB / 0.5412 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.3387, allocations: 483.4 kB / 0.5416 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.3398, allocations: 0.6839 MB / 0.5423 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.3401, allocations: 88.09 kB / 0.5424 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000688/0.3408, allocations: 308.2 kB / 0.5427 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.3414, allocations: 0.6559 MB / 0.5433 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007722/0.3422, allocations: 0.8198 MB / 0.5441 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.3448, allocations: 2.653 MB / 0.5467 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.3448, allocations: 0 / 0.5467 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3448, allocations: 3.938 kB / 0.5467 GB, free: 1.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.343e-05/0.3448, allocations: 0 / 0.5467 GB, free: 1.121 MB / 398.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.002744/0.3476, allocations: 1.951 MB / 0.5486 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3476, allocations: 8.031 kB / 0.5486 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003279/0.348, allocations: 348.1 kB / 0.5489 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/0.3528, allocations: 1.468 MB / 0.5504 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.3546, allocations: 0.855 MB / 0.5512 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.3546, allocations: 78.05 kB / 0.5513 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.3549, allocations: 103.9 kB / 0.5514 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00505/0.3599, allocations: 4.63 MB / 0.5559 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.36, allocations: 23.8 kB / 0.5559 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.3601, allocations: 51.92 kB / 0.556 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001648/0.3618, allocations: 1.099 MB / 0.5571 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005651/0.3675, allocations: 4.008 MB / 0.561 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.3856, allocations: 18.42 MB / 0.579 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.3869, allocations: 1.171 MB / 0.5801 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.3873, allocations: 346.3 kB / 0.5804 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3873, allocations: 4 kB / 0.5804 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3874, allocations: 38.56 kB / 0.5805 GB, free: 13.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.565e-06/0.3874, allocations: 4 kB / 0.5805 GB, free: 13.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001408/0.3888, allocations: 1.034 MB / 0.5815 GB, free: 12.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.3889, allocations: 106.8 kB / 0.5816 GB, free: 12.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.3915, allocations: 2.196 MB / 0.5837 GB, free: 9.797 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.3916, allocations: 33.7 kB / 0.5838 GB, free: 9.758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.3927, allocations: 1.617 MB / 0.5853 GB, free: 8.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.3929, allocations: 264.9 kB / 0.5856 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007396/0.3937, allocations: 0.6745 MB / 0.5863 GB, free: 7.168 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3938, allocations: 361.9 kB / 0.5866 GB, free: 6.809 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.3951, allocations: 0.8887 MB / 0.5875 GB, free: 5.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.3976, allocations: 3.17 MB / 0.5906 GB, free: 1.605 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004338/0.4019, allocations: 4.447 MB / 0.5949 GB, free: 12.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.488e-05/0.402, allocations: 27.94 kB / 0.5949 GB, free: 11.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00621/0.4082, allocations: 3.841 MB / 0.5987 GB, free: 8.145 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.343e-05/0.4083, allocations: 40 kB / 0.5987 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.581e-05/0.4084, allocations: 80 kB / 0.5988 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001059/0.4085, allocations: 112.8 kB / 0.5989 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/0.4105, allocations: 0.7525 MB / 0.5996 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001107/0.4107, allocations: 159.4 kB / 0.5998 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.4127, allocations: 486.8 kB / 0.6003 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.413, allocations: 216 kB / 0.6005 GB, free: 6.316 MB / 462.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.001269/0.4142, allocations: 1.105 MB / 0.6015 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.4145, allocations: 161.8 kB / 0.6017 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.4148, allocations: 200.3 kB / 0.6019 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.4148, allocations: 15.94 kB / 0.6019 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4148, allocations: 0 / 0.6019 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4149, allocations: 11.92 kB / 0.6019 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.4182, allocations: 2.011 MB / 0.6039 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.4182, allocations: 4 kB / 0.6039 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.4185, allocations: 55.91 kB / 0.6039 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.4185, allocations: 4 kB / 0.6039 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.4186, allocations: 11.94 kB / 0.604 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.4186, allocations: 3.984 kB / 0.604 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4186, allocations: 4 kB / 0.604 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4196, allocations: 1.031 MB / 0.605 GB, free: 1.602 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.42, allocations: 234.7 kB / 0.6052 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.4201, allocations: 11.92 kB / 0.6052 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.4206, allocations: 23.97 kB / 0.6052 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.4206, allocations: 19.98 kB / 0.6052 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.4207, allocations: 27.97 kB / 0.6053 GB, free: 1.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001914/0.4226, allocations: 1.367 MB / 0.6066 GB, free: 15.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4226, allocations: 0 / 0.6066 GB, free: 15.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002262/0.4249, allocations: 490.8 kB / 0.6071 GB, free: 15.39 MB / 478.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.001415/0.4263, allocations: 1.631 MB / 0.6087 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002866/0.4292, allocations: 2.053 MB / 0.6107 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4292, allocations: 0 / 0.6107 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.4296, allocations: 341.1 kB / 0.611 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4306, allocations: 173.5 kB / 0.6112 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/0.4545, allocations: 20.28 MB / 0.631 GB, free: 4.004 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.456, allocations: 1.794 MB / 0.6327 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002143/0.4581, allocations: 1.121 MB / 0.6338 GB, free: 1.055 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008387/0.459, allocations: 0.7258 MB / 0.6345 GB, free: 336 kB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.459, allocations: 0 / 0.6345 GB, free: 336 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05294/0.5119, allocations: 29.33 MB / 0.6632 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.26, allocations: 19.3 kB / 0.6632 GB, free: 3.133 MB / 0.5137 GB (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