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.001328/0.001328, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.12 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 76.16 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3381, allocations: 62.45 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.00686/0.3449, allocations: 5.41 MB / 0.537 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.3482, allocations: 1.809 MB / 0.5388 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/0.3485, allocations: 22.78 kB / 0.5388 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.3497, allocations: 0.545 MB / 0.5393 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.3514, allocations: 0.9249 MB / 0.5402 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.3515, allocations: 12.2 kB / 0.5402 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.3532, allocations: 1.521 MB / 0.5417 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008761/0.3541, allocations: 0.6727 MB / 0.5424 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006647/0.3548, allocations: 0.5214 MB / 0.5429 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.3567, allocations: 1.609 MB / 0.5444 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.3569, allocations: 89.81 kB / 0.5445 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.3575, allocations: 323.5 kB / 0.5448 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006336/0.3582, allocations: 0.7164 MB / 0.5455 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007379/0.3589, allocations: 0.8728 MB / 0.5464 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.3617, allocations: 2.808 MB / 0.5491 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3617, allocations: 0 / 0.5491 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3617, allocations: 3.938 kB / 0.5491 GB, free: 15.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.3618, allocations: 0 / 0.5491 GB, free: 15.78 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.002865/0.3646, allocations: 2.101 MB / 0.5512 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3647, allocations: 16.02 kB / 0.5512 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/0.3699, allocations: 1.509 MB / 0.5527 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.3715, allocations: 0.8491 MB / 0.5535 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.972e-05/0.3715, allocations: 86.47 kB / 0.5536 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.3718, allocations: 115.8 kB / 0.5537 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006122/0.3779, allocations: 4.98 MB / 0.5586 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/0.378, allocations: 27.73 kB / 0.5586 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.3781, allocations: 59.91 kB / 0.5586 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001999/0.3801, allocations: 1.182 MB / 0.5598 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00667/0.3868, allocations: 4.25 MB / 0.564 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02294/0.4098, allocations: 20.55 MB / 0.584 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.4113, allocations: 1.189 MB / 0.5852 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.4117, allocations: 347.2 kB / 0.5855 GB, free: 9.051 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.4117, allocations: 11.94 kB / 0.5855 GB, free: 9.039 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.4118, allocations: 46.44 kB / 0.5856 GB, free: 8.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.705e-06/0.4118, allocations: 0 / 0.5856 GB, free: 8.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001718/0.4135, allocations: 1.153 MB / 0.5867 GB, free: 7.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.4136, allocations: 132.5 kB / 0.5868 GB, free: 7.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003154/0.4167, allocations: 2.433 MB / 0.5892 GB, free: 5.199 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.4168, allocations: 33.7 kB / 0.5892 GB, free: 5.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.4182, allocations: 1.87 MB / 0.5911 GB, free: 3.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.4185, allocations: 321.8 kB / 0.5914 GB, free: 2.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009351/0.4195, allocations: 0.7862 MB / 0.5921 GB, free: 2.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4196, allocations: 357.9 kB / 0.5925 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.4211, allocations: 1.034 MB / 0.5935 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00365/0.4248, allocations: 3.687 MB / 0.5971 GB, free: 11.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005895/0.4307, allocations: 5.154 MB / 0.6021 GB, free: 5.262 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.031e-05/0.4307, allocations: 28 kB / 0.6021 GB, free: 5.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.00709/0.4378, allocations: 4.467 MB / 0.6065 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.914e-05/0.4379, allocations: 48 kB / 0.6065 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/0.438, allocations: 96 kB / 0.6066 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.4381, allocations: 120.1 kB / 0.6068 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/0.4404, allocations: 0.8733 MB / 0.6076 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001571/0.4406, allocations: 191.2 kB / 0.6078 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.4429, allocations: 0.566 MB / 0.6083 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.4432, allocations: 256 kB / 0.6086 GB, free: 14.62 MB / 478.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.001521/0.4448, allocations: 1.188 MB / 0.6097 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.4451, allocations: 202.6 kB / 0.6099 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.4454, allocations: 217.7 kB / 0.6101 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/0.4455, allocations: 20 kB / 0.6102 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.4455, allocations: 0 / 0.6102 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4455, allocations: 7.984 kB / 0.6102 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.4489, allocations: 2.061 MB / 0.6122 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4489, allocations: 4 kB / 0.6122 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.4492, allocations: 63.91 kB / 0.6123 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.4492, allocations: 4 kB / 0.6123 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.4493, allocations: 11.98 kB / 0.6123 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4493, allocations: 0 / 0.6123 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4493, allocations: 4.047 kB / 0.6123 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.4506, allocations: 1.206 MB / 0.6134 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.451, allocations: 263.6 kB / 0.6137 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.4511, allocations: 8 kB / 0.6137 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.4516, allocations: 23.95 kB / 0.6137 GB, free: 9.238 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.4517, allocations: 23.91 kB / 0.6138 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.4517, allocations: 24 kB / 0.6138 GB, free: 9.191 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001956/0.4537, allocations: 1.486 MB / 0.6152 GB, free: 7.688 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4537, allocations: 0 / 0.6152 GB, free: 7.688 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002722/0.4564, allocations: 0.5303 MB / 0.6157 GB, free: 7.156 MB / 478.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.0003505/0.4568, allocations: 127.2 kB / 0.6159 GB, free: 7.023 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003852/0.4606, allocations: 2.262 MB / 0.6181 GB, free: 4.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4606, allocations: 1.875 kB / 0.6181 GB, free: 4.785 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.4611, allocations: 340 kB / 0.6184 GB, free: 4.453 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.4622, allocations: 181.7 kB / 0.6186 GB, free: 4.273 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/0.469, allocations: 4.069 MB / 0.6225 GB, free: 160 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002511/0.4715, allocations: 1.862 MB / 0.6244 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003046/0.4746, allocations: 1.251 MB / 0.6256 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.4749, allocations: 135.4 kB / 0.6257 GB, free: 12.87 MB / 494.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4749, allocations: 0 / 0.6257 GB, free: 12.87 MB / 494.1 MB Notification: Performance of Templates: time 0.031/0.5059, allocations: 13.09 MB / 0.6385 GB, free: 15.8 MB / 0.4981 GB 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 -s gbode -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