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.001545/0.001545, allocations: 118.8 kB / 17.79 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 201.2 kB / 18.73 MB, free: 4.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 79.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3538, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01227/0.3661, allocations: 11.24 MB / 0.5415 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00654/0.3727, allocations: 2.818 MB / 0.5442 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.3745, allocations: 52.97 kB / 0.5443 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.3774, allocations: 1.333 MB / 0.5456 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.3803, allocations: 1.208 MB / 0.5468 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.3806, allocations: 78.48 kB / 0.5468 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003288/0.3839, allocations: 2.722 MB / 0.5495 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.3863, allocations: 1.844 MB / 0.5513 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.3878, allocations: 1.035 MB / 0.5523 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.3896, allocations: 1.452 MB / 0.5537 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.3901, allocations: 212 kB / 0.5539 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.3915, allocations: 499.4 kB / 0.5544 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.3928, allocations: 1.398 MB / 0.5558 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.3944, allocations: 1.692 MB / 0.5574 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005472/0.3999, allocations: 5.433 MB / 0.5627 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4, allocations: 0 / 0.5627 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4, allocations: 0 / 0.5627 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001196/0.4001, allocations: 0 / 0.5627 GB, free: 0.6445 MB / 414.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.00616/0.4063, allocations: 3.574 MB / 0.5662 GB, free: 13.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.4063, allocations: 12.02 kB / 0.5662 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007532/0.4071, allocations: 0.6671 MB / 0.5669 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009336/0.4164, allocations: 2.944 MB / 0.5698 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003508/0.42, allocations: 1.53 MB / 0.5713 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.4201, allocations: 176.6 kB / 0.5714 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006169/0.4208, allocations: 223.8 kB / 0.5716 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.4356, allocations: 9.48 MB / 0.5809 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.599e-05/0.4357, allocations: 15.88 kB / 0.5809 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003573/0.4361, allocations: 107.8 kB / 0.581 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003671/0.4397, allocations: 2.373 MB / 0.5833 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/0.4555, allocations: 8.672 MB / 0.5918 GB, free: 2.352 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03814/0.4937, allocations: 29.09 MB / 0.6202 GB, free: 4.449 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004857/0.4986, allocations: 3.05 MB / 0.6232 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.5, allocations: 0.9829 MB / 0.6241 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008746/0.5088, allocations: 4.833 MB / 0.6289 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.5089, allocations: 39.22 kB / 0.6289 GB, free: 11.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.037e-06/0.5089, allocations: 0 / 0.6289 GB, free: 11.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006296/0.5152, allocations: 2.732 MB / 0.6316 GB, free: 8.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.5152, allocations: 60.06 kB / 0.6316 GB, free: 8.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003589/0.5188, allocations: 2.561 MB / 0.6341 GB, free: 5.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.985e-05/0.519, allocations: 37.7 kB / 0.6342 GB, free: 5.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001838/0.5208, allocations: 2.641 MB / 0.6367 GB, free: 2.938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004888/0.5213, allocations: 0.4976 MB / 0.6372 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.5224, allocations: 0.9005 MB / 0.6381 GB, free: 1.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.5226, allocations: 357.9 kB / 0.6384 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.5245, allocations: 1.355 MB / 0.6398 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004302/0.5288, allocations: 4.114 MB / 0.6438 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006775/0.5356, allocations: 5.964 MB / 0.6496 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.922e-05/0.5357, allocations: 28 kB / 0.6496 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008507/0.5442, allocations: 5.283 MB / 0.6548 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.652e-05/0.5443, allocations: 48.19 kB / 0.6548 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.5444, allocations: 104 kB / 0.6549 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.5446, allocations: 132 kB / 0.6551 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/0.5474, allocations: 0.9747 MB / 0.656 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001431/0.5475, allocations: 191.2 kB / 0.6562 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/0.5502, allocations: 0.603 MB / 0.6568 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003821/0.5506, allocations: 280 kB / 0.6571 GB, free: 11.32 MB / 0.5137 GB 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.002735/0.5533, allocations: 1.891 MB / 0.6589 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/0.5536, allocations: 217.2 kB / 0.6591 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.5541, allocations: 267.3 kB / 0.6594 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.5541, allocations: 16 kB / 0.6594 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.5542, allocations: 0 / 0.6594 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.5542, allocations: 3.984 kB / 0.6594 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008493/0.5627, allocations: 5.622 MB / 0.6649 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.5627, allocations: 4 kB / 0.6649 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.5633, allocations: 131.8 kB / 0.665 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.5633, allocations: 8 kB / 0.665 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/0.5634, allocations: 27.98 kB / 0.665 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.5634, allocations: 8 kB / 0.665 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.5634, allocations: 7.938 kB / 0.6651 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.5657, allocations: 1.792 MB / 0.6668 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.5661, allocations: 282 kB / 0.6671 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.5664, allocations: 20 kB / 0.6671 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/0.5669, allocations: 47.88 kB / 0.6671 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.567, allocations: 60.38 kB / 0.6672 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-05/0.5672, allocations: 43.98 kB / 0.6672 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002123/0.5693, allocations: 1.552 MB / 0.6688 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5693, allocations: 0 / 0.6688 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003728/0.573, allocations: 0.9953 MB / 0.6697 GB, free: 14.08 MB / 0.5294 GB 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.002635/0.5757, allocations: 2.427 MB / 0.6721 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0049/0.5806, allocations: 3.15 MB / 0.6752 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/0.5806, allocations: 5.875 kB / 0.6752 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.5816, allocations: 0.7384 MB / 0.6759 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.5829, allocations: 255 kB / 0.6761 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04031/0.6233, allocations: 29.24 MB / 0.7047 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003513/0.6268, allocations: 2.962 MB / 0.7076 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003223/0.6301, allocations: 1.484 MB / 0.709 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002127/0.6322, allocations: 1.507 MB / 0.7105 GB, free: 408 kB / 0.5606 GB Notification: Performance of SimCode: time 1.383e-06/0.6322, allocations: 4 kB / 0.7105 GB, free: 404 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3341/0.9663, allocations: 38.98 MB / 0.7486 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.16, allocations: 11.25 kB / 0.7486 GB, free: 173.2 MB / 0.5762 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