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.001222/0.001222, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 72.11 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4091, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008247/0.4175, allocations: 5.712 MB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004881/0.4224, allocations: 1.837 MB / 0.5379 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.4236, allocations: 26.75 kB / 0.5379 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.4254, allocations: 0.5151 MB / 0.5384 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002474/0.428, allocations: 0.6928 MB / 0.5391 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.4283, allocations: 20.23 kB / 0.5391 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.4312, allocations: 1.424 MB / 0.5405 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.433, allocations: 0.709 MB / 0.5412 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.4343, allocations: 484.6 kB / 0.5416 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.4357, allocations: 0.6791 MB / 0.5423 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004882/0.4362, allocations: 91.31 kB / 0.5424 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.4375, allocations: 310.1 kB / 0.5427 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.4387, allocations: 0.6595 MB / 0.5433 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001877/0.4406, allocations: 0.8203 MB / 0.5441 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004658/0.4453, allocations: 2.658 MB / 0.5467 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4453, allocations: 0 / 0.5467 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4453, allocations: 0 / 0.5467 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001139/0.4454, allocations: 4 kB / 0.5467 GB, free: 1.129 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.004874/0.4503, allocations: 2.01 MB / 0.5487 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.4504, allocations: 12.03 kB / 0.5487 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008317/0.4512, allocations: 344.1 kB / 0.549 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005362/0.4566, allocations: 1.481 MB / 0.5505 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.459, allocations: 0.8593 MB / 0.5513 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.4591, allocations: 78.05 kB / 0.5514 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000589/0.4597, allocations: 103.9 kB / 0.5515 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007642/0.4674, allocations: 4.622 MB / 0.556 GB, free: 7.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-05/0.4675, allocations: 19.81 kB / 0.556 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003394/0.4679, allocations: 55.92 kB / 0.5561 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001827/0.4697, allocations: 1.103 MB / 0.5572 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006944/0.4767, allocations: 4.004 MB / 0.5611 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02191/0.4986, allocations: 18.46 MB / 0.5791 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.5001, allocations: 1.174 MB / 0.5802 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.5006, allocations: 344.6 kB / 0.5806 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.5007, allocations: 7.984 kB / 0.5806 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.5007, allocations: 42.56 kB / 0.5806 GB, free: 13.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.326e-06/0.5007, allocations: 0 / 0.5806 GB, free: 13.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001739/0.5025, allocations: 1.035 MB / 0.5816 GB, free: 12.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.5026, allocations: 110.8 kB / 0.5817 GB, free: 11.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/0.5068, allocations: 2.205 MB / 0.5839 GB, free: 9.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.507, allocations: 29.7 kB / 0.5839 GB, free: 9.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001692/0.5087, allocations: 1.691 MB / 0.5856 GB, free: 7.941 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003764/0.5091, allocations: 270.1 kB / 0.5858 GB, free: 7.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/0.5103, allocations: 0.6907 MB / 0.5865 GB, free: 6.977 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.5105, allocations: 357.8 kB / 0.5868 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.512, allocations: 0.9004 MB / 0.5877 GB, free: 5.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/0.5152, allocations: 3.159 MB / 0.5908 GB, free: 1.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005068/0.5203, allocations: 4.449 MB / 0.5951 GB, free: 11.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-05/0.5205, allocations: 24.19 kB / 0.5952 GB, free: 11.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00754/0.528, allocations: 3.852 MB / 0.5989 GB, free: 7.949 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.5282, allocations: 40 kB / 0.599 GB, free: 7.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/0.5283, allocations: 84.91 kB / 0.599 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.5285, allocations: 104 kB / 0.5991 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.5309, allocations: 0.7563 MB / 0.5999 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001769/0.5311, allocations: 159.4 kB / 0.6 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/0.5341, allocations: 0.4963 MB / 0.6005 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007042/0.5349, allocations: 212 kB / 0.6007 GB, free: 6.105 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.00235/0.5372, allocations: 1.093 MB / 0.6018 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/0.5376, allocations: 178.8 kB / 0.602 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.5381, allocations: 204 kB / 0.6022 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/0.5381, allocations: 12 kB / 0.6022 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.5381, allocations: 3.938 kB / 0.6022 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5382, allocations: 0 / 0.6022 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004235/0.5424, allocations: 2.015 MB / 0.6041 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5424, allocations: 0 / 0.6041 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.5428, allocations: 63.95 kB / 0.6042 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.5428, allocations: 0 / 0.6042 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.5429, allocations: 11.94 kB / 0.6042 GB, free: 2.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.5429, allocations: 7.938 kB / 0.6042 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5429, allocations: 4 kB / 0.6042 GB, free: 2.441 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.5441, allocations: 1.036 MB / 0.6052 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.5446, allocations: 239.8 kB / 0.6055 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.5448, allocations: 11.94 kB / 0.6055 GB, free: 1.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.5454, allocations: 23.97 kB / 0.6055 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.5455, allocations: 31.91 kB / 0.6055 GB, free: 1.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.5455, allocations: 19.98 kB / 0.6055 GB, free: 1.043 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002361/0.5479, allocations: 1.371 MB / 0.6069 GB, free: 15.65 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5479, allocations: 0 / 0.6069 GB, free: 15.65 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00293/0.5508, allocations: 495.1 kB / 0.6074 GB, free: 15.16 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.001817/0.5527, allocations: 1.645 MB / 0.609 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003467/0.5562, allocations: 2.053 MB / 0.611 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.5563, allocations: 1.938 kB / 0.611 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.5567, allocations: 337.3 kB / 0.6113 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.5581, allocations: 162.7 kB / 0.6114 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/0.5894, allocations: 20.36 MB / 0.6313 GB, free: 3.688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.5914, allocations: 1.79 MB / 0.6331 GB, free: 1.867 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002469/0.5939, allocations: 1.12 MB / 0.6342 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.595, allocations: 0.7258 MB / 0.6349 GB, free: 16 kB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5951, allocations: 0 / 0.6349 GB, free: 16 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06128/0.6564, allocations: 28.97 MB / 0.6632 GB, free: 3.199 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.05, allocations: 12.88 kB / 0.6632 GB, free: 3.188 MB / 0.5138 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.csv","/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