Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.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: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2396/0.2396, allocations: 46.1 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 78.47 kB / 418.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.121, allocations: 62.46 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006256/0.1273, allocations: 5.392 MB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.1307, allocations: 1.799 MB / 487.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006471/0.1313, allocations: 20 kB / 487.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.1328, allocations: 0.5291 MB / 488.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.135, allocations: 0.9068 MB / 489.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.1352, allocations: 19.97 kB / 489.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001998/0.1372, allocations: 1.522 MB / 490.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.1384, allocations: 0.7464 MB / 491.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009307/0.1394, allocations: 0.5252 MB / 492.2 MB, free: 9.758 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.1415, allocations: 1.609 MB / 493.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003224/0.1418, allocations: 88 kB / 493.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007234/0.1426, allocations: 315.5 kB / 494.2 MB, free: 7.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000587/0.1432, allocations: 0.7011 MB / 494.9 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00072/0.1439, allocations: 0.869 MB / 495.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.1462, allocations: 2.644 MB / 498.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1462, allocations: 0 / 498.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1462, allocations: 0 / 498.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.785e-05/0.1462, allocations: 0 / 498.4 MB, free: 3.52 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.002623/0.1489, allocations: 2.046 MB / 0.4887 GB, free: 1.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1489, allocations: 8.031 kB / 0.4887 GB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004862/0.1538, allocations: 1.503 MB / 0.4902 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.1552, allocations: 0.8449 MB / 0.491 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.1553, allocations: 86.45 kB / 0.4911 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.1555, allocations: 123.8 kB / 0.4912 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005516/0.161, allocations: 4.972 MB / 0.496 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.1611, allocations: 27.75 kB / 0.4961 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.1612, allocations: 59.91 kB / 0.4961 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001772/0.163, allocations: 1.185 MB / 0.4973 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005872/0.1689, allocations: 4.254 MB / 0.5014 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2248/0.3937, allocations: 20.55 MB / 0.5215 GB, free: 23.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.395, allocations: 1.239 MB / 0.5227 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/0.3954, allocations: 382.3 kB / 0.5231 GB, free: 22.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3955, allocations: 4.438 kB / 0.5231 GB, free: 22.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.3955, allocations: 42.12 kB / 0.5231 GB, free: 22.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 3.877e-06/0.3955, allocations: 0 / 0.5231 GB, free: 22.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.001639/0.3971, allocations: 1.149 MB / 0.5243 GB, free: 22.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.3972, allocations: 134.4 kB / 0.5244 GB, free: 22.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.4004, allocations: 2.425 MB / 0.5267 GB, free: 21.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.4004, allocations: 31.73 kB / 0.5268 GB, free: 21.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009172/0.4013, allocations: 1.794 MB / 0.5285 GB, free: 19.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.4016, allocations: 310 kB / 0.5288 GB, free: 19.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000863/0.4024, allocations: 0.7862 MB / 0.5296 GB, free: 19.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.4025, allocations: 356.5 kB / 0.5299 GB, free: 18.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.404, allocations: 1.031 MB / 0.5309 GB, free: 18.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/0.4063, allocations: 3.69 MB / 0.5345 GB, free: 14.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004238/0.4106, allocations: 5.164 MB / 0.5396 GB, free: 9.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.422e-05/0.4106, allocations: 32.69 kB / 0.5396 GB, free: 9.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005843/0.4165, allocations: 4.437 MB / 0.544 GB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/0.4166, allocations: 51.78 kB / 0.544 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-05/0.4166, allocations: 94.5 kB / 0.5441 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-05/0.4167, allocations: 127.4 kB / 0.5442 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.4187, allocations: 0.8628 MB / 0.5451 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001492/0.4188, allocations: 191.1 kB / 0.5452 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.421, allocations: 0.5592 MB / 0.5458 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.4212, allocations: 251.4 kB / 0.546 GB, free: 7.543 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * 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.001117/0.4223, allocations: 1.181 MB / 0.5472 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.4225, allocations: 188.2 kB / 0.5474 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.4228, allocations: 220.3 kB / 0.5476 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.581e-05/0.4228, allocations: 18.17 kB / 0.5476 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.4228, allocations: 3.75 kB / 0.5476 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4228, allocations: 11.86 kB / 0.5476 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.4255, allocations: 2.066 MB / 0.5496 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4256, allocations: 7.938 kB / 0.5496 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.4258, allocations: 59.91 kB / 0.5497 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4258, allocations: 8 kB / 0.5497 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.4259, allocations: 8.562 kB / 0.5497 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.4259, allocations: 7.984 kB / 0.5497 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4259, allocations: 0 / 0.5497 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008213/0.4267, allocations: 1.186 MB / 0.5509 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.427, allocations: 258.3 kB / 0.5511 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.4271, allocations: 16 kB / 0.5511 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/0.4276, allocations: 19.92 kB / 0.5511 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.4277, allocations: 23.95 kB / 0.5512 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.4277, allocations: 24 kB / 0.5512 GB, free: 3.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001375/0.4291, allocations: 1.486 MB / 0.5526 GB, free: 1.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4291, allocations: 0 / 0.5526 GB, free: 1.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002331/0.4314, allocations: 0.5167 MB / 0.5531 GB, free: 1.051 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.0002421/0.4317, allocations: 131.4 kB / 0.5533 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003184/0.4349, allocations: 2.461 MB / 0.5557 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4349, allocations: 0 / 0.5557 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.4353, allocations: 371.7 kB / 0.556 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4364, allocations: 165.7 kB / 0.5562 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/0.4423, allocations: 4.3 MB / 0.5604 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.4439, allocations: 1.869 MB / 0.5622 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.4443, allocations: 163.4 kB / 0.5624 GB, free: 7.551 MB / 398.1 MB Notification: Performance of SimCode: time 2.355e-06/0.4443, allocations: 0 / 0.5624 GB, free: 7.551 MB / 398.1 MB Notification: Performance of Templates: time 0.0412/0.4855, allocations: 27.6 MB / 0.5893 GB, free: 12.01 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches