Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001386, allocations: 79.53 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1184, allocations: 62.43 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009158/0.1276, allocations: 8.701 MB / 490.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.1325, allocations: 2.285 MB / 492.4 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.1336, allocations: 43.94 kB / 492.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.1364, allocations: 1.55 MB / 494 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008992/0.1374, allocations: 457.3 kB / 494.5 MB, free: 7.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.1376, allocations: 75.84 kB / 494.6 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008791/0.1385, allocations: 0.9333 MB / 495.5 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.1399, allocations: 1.49 MB / 497 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/0.1405, allocations: 0.5332 MB / 497.5 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007423/0.1412, allocations: 0.6849 MB / 498.2 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.1414, allocations: 123.9 kB / 498.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.1416, allocations: 127.9 kB / 498.4 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005541/0.1422, allocations: 0.7208 MB / 499.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006349/0.1428, allocations: 0.8541 MB / 0.4883 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.1446, allocations: 2.315 MB / 0.4906 GB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1446, allocations: 4 kB / 0.4906 GB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1446, allocations: 0 / 0.4906 GB, free: 15.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.1446, allocations: 3.938 kB / 0.4906 GB, free: 15.55 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002205/0.1469, allocations: 1.944 MB / 0.4925 GB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1469, allocations: 12.03 kB / 0.4925 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000516/0.1474, allocations: 214.1 kB / 0.4927 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.1485, allocations: 0.7187 MB / 0.4934 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/0.1486, allocations: 115.4 kB / 0.4935 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.1488, allocations: 152.1 kB / 0.4936 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00347/0.1523, allocations: 3.375 MB / 0.4969 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.1523, allocations: 19.81 kB / 0.4969 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.1525, allocations: 71.94 kB / 0.497 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006615/0.1531, allocations: 0.6188 MB / 0.4976 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.1557, allocations: 1.858 MB / 0.4994 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2135/0.3692, allocations: 13.47 MB / 0.5126 GB, free: 31.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.355e-05/0.3693, allocations: 167 kB / 0.5128 GB, free: 30.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.3693, allocations: 86.81 kB / 0.5128 GB, free: 30.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.3694, allocations: 76.59 kB / 0.5129 GB, free: 30.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.3694, allocations: 111.5 kB / 0.513 GB, free: 30.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.3694, allocations: 1.719 kB / 0.513 GB, free: 30.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.000226/0.3696, allocations: 147.9 kB / 0.5132 GB, free: 30.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.3697, allocations: 129.4 kB / 0.5133 GB, free: 30.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.3717, allocations: 1.648 MB / 0.5149 GB, free: 29.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.3717, allocations: 26.39 kB / 0.5149 GB, free: 29.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006758/0.3724, allocations: 1.356 MB / 0.5162 GB, free: 28.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.3725, allocations: 49.44 kB / 0.5163 GB, free: 28.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004222/0.3729, allocations: 430.2 kB / 0.5167 GB, free: 28.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.373, allocations: 358.5 kB / 0.517 GB, free: 28.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/0.3735, allocations: 369 kB / 0.5174 GB, free: 28.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.3746, allocations: 1.933 MB / 0.5193 GB, free: 25.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.3763, allocations: 2.508 MB / 0.5217 GB, free: 23.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.7e-05/0.3763, allocations: 21.06 kB / 0.5217 GB, free: 23.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002997/0.3793, allocations: 2.107 MB / 0.5238 GB, free: 22.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.3794, allocations: 34.97 kB / 0.5238 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-05/0.3794, allocations: 56.59 kB / 0.5239 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.082e-05/0.3795, allocations: 73.25 kB / 0.524 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.3806, allocations: 487.9 kB / 0.5244 GB, free: 22.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.903e-05/0.3806, allocations: 109.3 kB / 0.5245 GB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.3819, allocations: 319.3 kB / 0.5248 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.382, allocations: 143.3 kB / 0.525 GB, free: 22.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.0009084/0.383, allocations: 0.8657 MB / 0.5258 GB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.3831, allocations: 222.1 kB / 0.526 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.3832, allocations: 230.9 kB / 0.5263 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.3833, allocations: 182.1 kB / 0.5264 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.272e-05/0.3833, allocations: 178.2 kB / 0.5266 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.3833, allocations: 182 kB / 0.5268 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.3849, allocations: 1.479 MB / 0.5282 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.385, allocations: 102.6 kB / 0.5283 GB, free: 19.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.567e-05/0.385, allocations: 110.6 kB / 0.5284 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-05/0.385, allocations: 182.5 kB / 0.5286 GB, free: 19.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.385, allocations: 182.2 kB / 0.5288 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.261e-05/0.3851, allocations: 182.1 kB / 0.5289 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.361e-05/0.3851, allocations: 180.9 kB / 0.5291 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.3852, allocations: 433.2 kB / 0.5295 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.3855, allocations: 297.2 kB / 0.5298 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.3856, allocations: 180.1 kB / 0.53 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.3858, allocations: 103.8 kB / 0.5301 GB, free: 18.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.3859, allocations: 182 kB / 0.5303 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3859, allocations: 114.7 kB / 0.5304 GB, free: 17.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001131/0.387, allocations: 1.016 MB / 0.5314 GB, free: 17.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.387, allocations: 0 / 0.5314 GB, free: 17.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001492/0.3885, allocations: 428.1 kB / 0.5318 GB, free: 17.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.000111/0.3886, allocations: 174.1 kB / 0.5319 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.3898, allocations: 0.9067 MB / 0.5328 GB, free: 16.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3898, allocations: 0 / 0.5328 GB, free: 16.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.3898, allocations: 1.125 kB / 0.5328 GB, free: 16.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.3905, allocations: 0.5727 MB / 0.5334 GB, free: 16.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.3937, allocations: 2.759 MB / 0.5361 GB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009824/0.3947, allocations: 1.574 MB / 0.5376 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009576/0.3956, allocations: 498.3 kB / 0.5381 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3958, allocations: 75.56 kB / 0.5382 GB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3958, allocations: 0 / 0.5382 GB, free: 13.7 MB / 382.1 MB Notification: Performance of Templates: time 0.0142/0.41, allocations: 8.354 MB / 0.5463 GB, free: 7.238 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches