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.000885/0.0008849, allocations: 95.27 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 200.9 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.8 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1908/0.1908, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.0002479, allocations: 11.98 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1053, allocations: 63.57 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02566/0.131, allocations: 27.61 MB / 0.4988 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.1429, allocations: 5.562 MB / 0.5042 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004019/0.147, allocations: 111.8 kB / 0.5044 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.1482, allocations: 410.2 kB / 0.5047 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.1511, allocations: 1.152 MB / 0.5059 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.1516, allocations: 71.91 kB / 0.5059 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2093/0.3609, allocations: 3.993 MB / 0.5098 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004809/0.3657, allocations: 2.334 MB / 0.5121 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.3681, allocations: 0.8282 MB / 0.5129 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003269/0.3714, allocations: 1.418 MB / 0.5143 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008379/0.3723, allocations: 115.9 kB / 0.5144 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.374, allocations: 423.6 kB / 0.5148 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001987/0.376, allocations: 1.313 MB / 0.5161 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001676/0.3777, allocations: 1.615 MB / 0.5177 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005375/0.3831, allocations: 4.976 MB / 0.5225 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3831, allocations: 7.406 kB / 0.5226 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.3831, allocations: 1.469 kB / 0.5226 GB, free: 8.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.3833, allocations: 0 / 0.5226 GB, free: 8.645 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.00468/0.388, allocations: 2.891 MB / 0.5254 GB, free: 6.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.388, allocations: 10.34 kB / 0.5254 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008657/0.3889, allocations: 0.6696 MB / 0.526 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009448/0.3984, allocations: 3.027 MB / 0.529 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.4011, allocations: 1.526 MB / 0.5305 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.4012, allocations: 177.7 kB / 0.5307 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004592/0.4017, allocations: 221.4 kB / 0.5309 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.4129, allocations: 9.472 MB / 0.5401 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.082e-05/0.413, allocations: 19.62 kB / 0.5401 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003153/0.4133, allocations: 111.6 kB / 0.5402 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003482/0.4168, allocations: 2.372 MB / 0.5426 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.4307, allocations: 8.668 MB / 0.551 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03676/0.4674, allocations: 29.33 MB / 0.5797 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00475/0.4722, allocations: 3.05 MB / 0.5826 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.4736, allocations: 0.9843 MB / 0.5836 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007747/0.4814, allocations: 4.832 MB / 0.5883 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4814, allocations: 42.12 kB / 0.5884 GB, free: 14.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 4.228e-06/0.4815, allocations: 0 / 0.5884 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.005781/0.4872, allocations: 2.731 MB / 0.591 GB, free: 11.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.4873, allocations: 64.05 kB / 0.5911 GB, free: 11.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/0.4906, allocations: 2.553 MB / 0.5936 GB, free: 9.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/0.4907, allocations: 41.64 kB / 0.5936 GB, free: 9.184 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.4922, allocations: 2.657 MB / 0.5962 GB, free: 6.523 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003874/0.4926, allocations: 492.8 kB / 0.5967 GB, free: 6.051 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/0.4931, allocations: 395.7 kB / 0.5971 GB, free: 5.656 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4932, allocations: 357.9 kB / 0.5974 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.495, allocations: 1.352 MB / 0.5987 GB, free: 3.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0035/0.4986, allocations: 4.123 MB / 0.6028 GB, free: 14.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005723/0.5043, allocations: 5.968 MB / 0.6086 GB, free: 7.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.675e-05/0.5043, allocations: 28 kB / 0.6086 GB, free: 7.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007227/0.5116, allocations: 5.277 MB / 0.6138 GB, free: 2.469 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/0.5116, allocations: 45 kB / 0.6138 GB, free: 2.426 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.5117, allocations: 103.9 kB / 0.6139 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.5119, allocations: 132 kB / 0.614 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/0.5144, allocations: 0.9786 MB / 0.615 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001262/0.5145, allocations: 191.2 kB / 0.6152 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.517, allocations: 0.5991 MB / 0.6158 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/0.5173, allocations: 282.9 kB / 0.616 GB, free: 152 kB / 462.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.003272/0.5206, allocations: 1.895 MB / 0.6179 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.521, allocations: 209.2 kB / 0.6181 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/0.5215, allocations: 271.3 kB / 0.6183 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/0.5215, allocations: 18.11 kB / 0.6184 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.5215, allocations: 3.938 kB / 0.6184 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.5216, allocations: 7.984 kB / 0.6184 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008285/0.5298, allocations: 5.608 MB / 0.6238 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.5299, allocations: 7.938 kB / 0.6238 GB, free: 8.012 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.5305, allocations: 143.8 kB / 0.624 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.5305, allocations: 8 kB / 0.624 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/0.5306, allocations: 20 kB / 0.624 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.5306, allocations: 11.94 kB / 0.624 GB, free: 7.832 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5306, allocations: 4 kB / 0.624 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.5327, allocations: 1.794 MB / 0.6258 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/0.5333, allocations: 298 kB / 0.6261 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.5335, allocations: 23.98 kB / 0.6261 GB, free: 5.629 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/0.5341, allocations: 38.39 kB / 0.6261 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.5342, allocations: 60.36 kB / 0.6262 GB, free: 5.535 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/0.5343, allocations: 44 kB / 0.6262 GB, free: 5.492 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002257/0.5366, allocations: 1.56 MB / 0.6277 GB, free: 3.918 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5366, allocations: 0 / 0.6277 GB, free: 3.918 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003476/0.5401, allocations: 0.9865 MB / 0.6287 GB, free: 2.93 MB / 478.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.002677/0.5427, allocations: 2.43 MB / 0.6311 GB, free: 432 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00506/0.5478, allocations: 3.126 MB / 0.6341 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.5479, allocations: 4 kB / 0.6341 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009433/0.5488, allocations: 0.7402 MB / 0.6349 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.5515, allocations: 249.7 kB / 0.6351 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04503/0.5965, allocations: 32.94 MB / 0.6673 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004281/0.6008, allocations: 2.962 MB / 0.6702 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003463/0.6043, allocations: 1.484 MB / 0.6716 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/0.6065, allocations: 1.511 MB / 0.6731 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of SimCode: time 1.342e-06/0.6065, allocations: 0 / 0.6731 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2652/0.8718, allocations: 40.06 MB / 0.7122 GB, free: 196.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.872, allocations: 189.3 kB / 0.7124 GB, free: 196.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.568, allocations: 0 / 0.7124 GB, free: 196.5 MB / 0.545 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