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.00119/0.00119, allocations: 110.7 kB / 18.41 MB, free: 4.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 200.6 kB / 19.35 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 79.12 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1233, allocations: 62.44 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009153/0.1325, allocations: 8.701 MB / 490.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004366/0.1369, allocations: 2.281 MB / 492.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.138, allocations: 43.94 kB / 492.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002891/0.1409, allocations: 1.55 MB / 494 MB, free: 7.906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.1423, allocations: 461.3 kB / 494.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.1426, allocations: 75.84 kB / 494.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.1441, allocations: 0.9332 MB / 495.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/0.1468, allocations: 1.494 MB / 497 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.148, allocations: 0.5333 MB / 497.5 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.1495, allocations: 0.681 MB / 498.2 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000497/0.15, allocations: 123.9 kB / 498.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006371/0.1507, allocations: 127.9 kB / 498.4 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007468/0.1514, allocations: 0.7207 MB / 499.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008977/0.1524, allocations: 0.858 MB / 0.4883 GB, free: 1.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.1548, allocations: 2.323 MB / 0.4906 GB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.1548, allocations: 0 / 0.4906 GB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1548, allocations: 0 / 0.4906 GB, free: 15.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.288e-05/0.1549, allocations: 0 / 0.4906 GB, free: 15.54 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.002888/0.1578, allocations: 1.94 MB / 0.4925 GB, free: 13.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1578, allocations: 8.031 kB / 0.4925 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/0.1584, allocations: 218.1 kB / 0.4927 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.1597, allocations: 0.7264 MB / 0.4934 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.1598, allocations: 115.4 kB / 0.4935 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.16, allocations: 152.1 kB / 0.4936 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003877/0.1639, allocations: 3.371 MB / 0.4969 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.164, allocations: 19.81 kB / 0.497 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.1641, allocations: 71.94 kB / 0.497 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007466/0.1648, allocations: 0.6149 MB / 0.4976 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.1675, allocations: 1.858 MB / 0.4994 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2317/0.3992, allocations: 13.47 MB / 0.5126 GB, free: 31.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/0.3993, allocations: 170 kB / 0.5128 GB, free: 30.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.3994, allocations: 82.5 kB / 0.5128 GB, free: 30.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3994, allocations: 77.31 kB / 0.5129 GB, free: 30.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.3994, allocations: 107.5 kB / 0.513 GB, free: 30.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.234e-06/0.3994, allocations: 0.9375 kB / 0.513 GB, free: 30.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002695/0.3997, allocations: 154.6 kB / 0.5132 GB, free: 30.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3998, allocations: 133.6 kB / 0.5133 GB, free: 30.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.4018, allocations: 1.645 MB / 0.5149 GB, free: 29.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.4019, allocations: 29.39 kB / 0.5149 GB, free: 29.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.4026, allocations: 1.356 MB / 0.5162 GB, free: 28.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.4026, allocations: 44.61 kB / 0.5163 GB, free: 28.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004369/0.4031, allocations: 429.4 kB / 0.5167 GB, free: 28.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4032, allocations: 355 kB / 0.517 GB, free: 28.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.4038, allocations: 374.7 kB / 0.5174 GB, free: 28.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.405, allocations: 1.927 MB / 0.5193 GB, free: 25.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.4066, allocations: 2.508 MB / 0.5217 GB, free: 23.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.833e-05/0.4066, allocations: 21.66 kB / 0.5217 GB, free: 23.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003139/0.4098, allocations: 2.112 MB / 0.5238 GB, free: 22.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.4098, allocations: 29.61 kB / 0.5238 GB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.044e-05/0.4099, allocations: 57.53 kB / 0.5239 GB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.294e-05/0.41, allocations: 73.72 kB / 0.524 GB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.4112, allocations: 487.2 kB / 0.5244 GB, free: 22.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.95e-05/0.4113, allocations: 114.5 kB / 0.5245 GB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.4126, allocations: 318.8 kB / 0.5248 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.4128, allocations: 147.5 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.001029/0.4138, allocations: 0.8618 MB / 0.5258 GB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.414, allocations: 227.2 kB / 0.526 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.4142, allocations: 229.7 kB / 0.5263 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.4142, allocations: 180.7 kB / 0.5264 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/0.4142, allocations: 186.1 kB / 0.5266 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.4143, allocations: 181.8 kB / 0.5268 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.4159, allocations: 1.472 MB / 0.5282 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.416, allocations: 106.6 kB / 0.5283 GB, free: 19.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.5e-05/0.416, allocations: 106.8 kB / 0.5284 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.844e-05/0.416, allocations: 182.2 kB / 0.5286 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.4161, allocations: 180.8 kB / 0.5288 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.488e-05/0.4161, allocations: 186.6 kB / 0.5289 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.323e-05/0.4161, allocations: 186 kB / 0.5291 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.4163, allocations: 428.6 kB / 0.5295 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.4165, allocations: 293 kB / 0.5298 GB, free: 18.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.4167, allocations: 178.1 kB / 0.53 GB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.417, allocations: 112.4 kB / 0.5301 GB, free: 18.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.4171, allocations: 186.1 kB / 0.5303 GB, free: 17.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.4171, allocations: 106.9 kB / 0.5304 GB, free: 17.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001668/0.4188, allocations: 1.013 MB / 0.5314 GB, free: 17.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4188, allocations: 0 / 0.5314 GB, free: 17.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002829/0.4216, allocations: 427.9 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.0001463/0.4218, allocations: 177.3 kB / 0.5319 GB, free: 17.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.4238, allocations: 0.8997 MB / 0.5328 GB, free: 16.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4238, allocations: 0 / 0.5328 GB, free: 16.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.4238, allocations: 1.281 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.001061/0.4249, allocations: 0.5692 MB / 0.5334 GB, free: 16.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005488/0.4304, allocations: 2.76 MB / 0.5361 GB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/0.4321, allocations: 1.575 MB / 0.5376 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001709/0.4338, allocations: 0.4908 MB / 0.5381 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.434, allocations: 74.56 kB / 0.5382 GB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.434, allocations: 0 / 0.5382 GB, free: 13.7 MB / 382.1 MB Notification: Performance of Templates: time 0.02482/0.4588, allocations: 8.347 MB / 0.5463 GB, free: 7.234 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 cvode -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