Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.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.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, 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.001294/0.001294, 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.275/1.275, 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.2041/0.2041, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 73.52 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09503, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0108/0.1059, allocations: 11.24 MB / 491.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00523/0.1111, allocations: 2.823 MB / 494.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.1125, allocations: 59.88 kB / 494.2 MB, free: 7.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.115, allocations: 1.331 MB / 495.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.1175, allocations: 1.202 MB / 496.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1178, allocations: 79.84 kB / 496.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002814/0.1206, allocations: 2.71 MB / 499.6 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.1228, allocations: 1.848 MB / 0.4897 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.1242, allocations: 1.047 MB / 0.4907 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.1259, allocations: 1.444 MB / 0.4921 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004993/0.1264, allocations: 208 kB / 0.4923 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.1275, allocations: 495.3 kB / 0.4928 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.1287, allocations: 1.383 MB / 0.4941 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.1304, allocations: 1.7 MB / 0.4958 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.1351, allocations: 5.151 MB / 0.5008 GB, free: 4.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1351, allocations: 0 / 0.5008 GB, free: 4.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1351, allocations: 0 / 0.5008 GB, free: 4.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001516/0.1353, allocations: 0 / 0.5008 GB, free: 4.34 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.005492/0.1408, allocations: 3.578 MB / 0.5043 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1408, allocations: 8.031 kB / 0.5043 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006806/0.1415, allocations: 0.671 MB / 0.505 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1818/0.3233, allocations: 2.934 MB / 0.5078 GB, free: 39.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/0.3266, allocations: 1.519 MB / 0.5093 GB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.3267, allocations: 180.4 kB / 0.5095 GB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009832/0.3277, allocations: 219.4 kB / 0.5097 GB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/0.3411, allocations: 9.468 MB / 0.5189 GB, free: 34.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/0.3412, allocations: 22.31 kB / 0.519 GB, free: 34.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/0.3415, allocations: 110.8 kB / 0.5191 GB, free: 34.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003135/0.3447, allocations: 2.374 MB / 0.5214 GB, free: 34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.356, allocations: 8.666 MB / 0.5299 GB, free: 27.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02633/0.3824, allocations: 29.3 MB / 0.5585 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/0.3869, allocations: 3.05 MB / 0.5614 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.3882, allocations: 0.9817 MB / 0.5624 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007484/0.3957, allocations: 4.84 MB / 0.5671 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.3957, allocations: 43.16 kB / 0.5672 GB, free: 4.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=126): time 3.407e-06/0.3957, allocations: 0 / 0.5672 GB, free: 4.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=126): time 0.005551/0.4013, allocations: 2.736 MB / 0.5698 GB, free: 1.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4013, allocations: 64.05 kB / 0.5699 GB, free: 1.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.4047, allocations: 2.553 MB / 0.5724 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.942e-05/0.4048, allocations: 40.61 kB / 0.5724 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001533/0.4063, allocations: 2.649 MB / 0.575 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003947/0.4067, allocations: 0.4899 MB / 0.5755 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009707/0.4077, allocations: 0.9043 MB / 0.5764 GB, free: 10.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4078, allocations: 353.9 kB / 0.5767 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.4095, allocations: 1.352 MB / 0.578 GB, free: 9.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/0.4127, allocations: 4.126 MB / 0.5821 GB, free: 3.539 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005371/0.4181, allocations: 5.964 MB / 0.5879 GB, free: 12.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.912e-05/0.4182, allocations: 31.94 kB / 0.5879 GB, free: 12.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007392/0.4256, allocations: 5.274 MB / 0.5931 GB, free: 6.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.4256, allocations: 44.97 kB / 0.5931 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/0.4258, allocations: 104 kB / 0.5932 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001133/0.4259, allocations: 135.9 kB / 0.5933 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.4285, allocations: 0.9786 MB / 0.5943 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001399/0.4286, allocations: 191.2 kB / 0.5945 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.4311, allocations: 0.5992 MB / 0.5951 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003407/0.4314, allocations: 272 kB / 0.5953 GB, free: 4.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * 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.002427/0.4339, allocations: 1.891 MB / 0.5972 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.4342, allocations: 221.1 kB / 0.5974 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.4346, allocations: 267.3 kB / 0.5976 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/0.4346, allocations: 19.98 kB / 0.5977 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4346, allocations: 0 / 0.5977 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4346, allocations: 3.984 kB / 0.5977 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007775/0.4424, allocations: 5.611 MB / 0.6031 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4424, allocations: 4 kB / 0.6031 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.443, allocations: 139.7 kB / 0.6033 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.443, allocations: 8 kB / 0.6033 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.4431, allocations: 23.98 kB / 0.6033 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.4431, allocations: 8 kB / 0.6033 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.4431, allocations: 11.92 kB / 0.6033 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.4451, allocations: 1.792 MB / 0.6051 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.4455, allocations: 288.2 kB / 0.6054 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.4458, allocations: 19.98 kB / 0.6054 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.4464, allocations: 43.89 kB / 0.6054 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.4465, allocations: 64.36 kB / 0.6055 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/0.4466, allocations: 36 kB / 0.6055 GB, free: 9.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002011/0.4486, allocations: 1.56 MB / 0.607 GB, free: 8.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4486, allocations: 0 / 0.607 GB, free: 8.332 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003114/0.4518, allocations: 0.9899 MB / 0.608 GB, free: 7.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * 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.00248/0.4542, allocations: 2.434 MB / 0.6104 GB, free: 4.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005441/0.4597, allocations: 3.948 MB / 0.6142 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4597, allocations: 4 kB / 0.6142 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.4605, allocations: 0.739 MB / 0.615 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.4617, allocations: 260.1 kB / 0.6152 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03548/0.4972, allocations: 31.07 MB / 0.6455 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00358/0.5009, allocations: 2.961 MB / 0.6484 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00317/0.504, allocations: 1.48 MB / 0.6499 GB, free: 7.598 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/0.5058, allocations: 1.519 MB / 0.6514 GB, free: 6.078 MB / 494.1 MB Notification: Performance of SimCode: time 2.254e-06/0.5059, allocations: 0 / 0.6514 GB, free: 6.078 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.287/1.793, allocations: 41.05 MB / 0.6915 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/14.14, allocations: 5.297 kB / 0.6915 GB, free: 13.16 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches