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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001038/0.001039, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001152, allocations: 95.59 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 45.14 MB / 383.8 MB, free: 228 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.309e-05/1.312e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 63.25 MB / 0.5043 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3917/0.4943, allocations: 94.14 MB / 0.5963 GB, free: 8.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001622/0.4945, allocations: 70.84 kB / 0.5963 GB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1007/0.5952, allocations: 43.07 MB / 0.6384 GB, free: 3.738 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5953, allocations: 4 kB / 0.6384 GB, free: 3.734 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.19e-05/0.5953, allocations: 36 kB / 0.6384 GB, free: 3.699 MB / 426.7 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.003737/0.5991, allocations: 1.887 MB / 0.6403 GB, free: 1.898 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5991, allocations: 8.031 kB / 0.6403 GB, free: 1.891 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006743/0.6059, allocations: 1.694 MB / 0.6419 GB, free: 196 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.6082, allocations: 1.105 MB / 0.643 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/0.6083, allocations: 60 kB / 0.6431 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003955/0.6087, allocations: 108 kB / 0.6432 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004353/0.6131, allocations: 3.037 MB / 0.6462 GB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00687/0.62, allocations: 5.196 MB / 0.6512 GB, free: 7.984 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.209e-05/0.6201, allocations: 43.62 kB / 0.6513 GB, free: 7.941 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/0.6203, allocations: 24 kB / 0.6513 GB, free: 7.918 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006593/0.621, allocations: 0.569 MB / 0.6518 GB, free: 7.348 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0252/0.6462, allocations: 26.74 MB / 0.678 GB, free: 11.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.6478, allocations: 1.152 MB / 0.6791 GB, free: 10.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004464/0.6483, allocations: 330.5 kB / 0.6794 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.6483, allocations: 4 kB / 0.6794 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.6484, allocations: 38.5 kB / 0.6794 GB, free: 10 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 3.496e-06/0.6484, allocations: 7.938 kB / 0.6795 GB, free: 9.996 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001618/0.65, allocations: 0.7794 MB / 0.6802 GB, free: 9.211 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.6501, allocations: 106.8 kB / 0.6803 GB, free: 9.082 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004937/0.655, allocations: 2.076 MB / 0.6823 GB, free: 6.969 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.6552, allocations: 29.7 kB / 0.6824 GB, free: 6.934 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002155/0.6574, allocations: 1.871 MB / 0.6842 GB, free: 5.031 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005388/0.6579, allocations: 273 kB / 0.6845 GB, free: 4.762 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.6583, allocations: 7.938 kB / 0.6845 GB, free: 4.754 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005337/0.6589, allocations: 0.5036 MB / 0.685 GB, free: 4.238 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.6608, allocations: 1.039 MB / 0.686 GB, free: 3.195 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003587/0.6644, allocations: 3.85 MB / 0.6897 GB, free: 13.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/0.6677, allocations: 2.031 MB / 0.6917 GB, free: 11.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.618e-05/0.6678, allocations: 32 kB / 0.6917 GB, free: 11.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.007981/0.6757, allocations: 4.161 MB / 0.6958 GB, free: 7.676 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.6759, allocations: 48 kB / 0.6959 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/0.6761, allocations: 104.9 kB / 0.696 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.6763, allocations: 148 kB / 0.6961 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/0.6791, allocations: 0.963 MB / 0.697 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001626/0.6793, allocations: 199.2 kB / 0.6972 GB, free: 6.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/0.6824, allocations: 0.4902 MB / 0.6977 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005123/0.6829, allocations: 307.9 kB / 0.698 GB, free: 5.426 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 17 (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.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (508): * Single equations (assignments): 505 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005744/0.6835, allocations: 344.3 kB / 0.6983 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.6838, allocations: 177.6 kB / 0.6985 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.6842, allocations: 204.4 kB / 0.6987 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.6843, allocations: 12 kB / 0.6987 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6843, allocations: 4 kB / 0.6987 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.6843, allocations: 0 / 0.6987 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.6879, allocations: 1.746 MB / 0.7004 GB, free: 2.891 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.688, allocations: 0 / 0.7004 GB, free: 2.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.6883, allocations: 67.89 kB / 0.7005 GB, free: 2.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.6883, allocations: 0 / 0.7005 GB, free: 2.824 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.6883, allocations: 4 kB / 0.7005 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.6883, allocations: 8 kB / 0.7005 GB, free: 2.812 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6883, allocations: 0 / 0.7005 GB, free: 2.812 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.6895, allocations: 1.04 MB / 0.7015 GB, free: 1.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/0.69, allocations: 270.7 kB / 0.7018 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.6902, allocations: 8 kB / 0.7018 GB, free: 1.438 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.6909, allocations: 23.92 kB / 0.7018 GB, free: 1.414 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.6909, allocations: 19.91 kB / 0.7018 GB, free: 1.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.691, allocations: 20.28 kB / 0.7018 GB, free: 1.375 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002166/0.6932, allocations: 1.354 MB / 0.7032 GB, free: 0 / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6932, allocations: 0 / 0.7032 GB, free: 0 / 490.7 MB Notification: Performance of remove unused functions: time 0.00335/0.6965, allocations: 0.4986 MB / 0.7036 GB, free: 15.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003723/0.6969, allocations: 139 kB / 0.7038 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0039/0.7008, allocations: 2.236 MB / 0.706 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.7009, allocations: 4 kB / 0.706 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.7012, allocations: 315.8 kB / 0.7063 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.702, allocations: 135.6 kB / 0.7064 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/0.708, allocations: 3.176 MB / 0.7095 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/0.7101, allocations: 1.908 MB / 0.7114 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003297/0.7135, allocations: 1.337 MB / 0.7127 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.714, allocations: 151.4 kB / 0.7128 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.714, allocations: 0 / 0.7128 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of Templates: time 0.02707/0.7411, allocations: 13.38 MB / 0.7259 GB, free: 8.676 MB / 0.5105 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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches