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/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.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/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 226.8 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 95.66 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3799/0.3799, allocations: 44.82 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3344, allocations: 62.02 MB / 0.5151 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.02825/0.3627, allocations: 40.23 MB / 0.5544 GB, free: 8.887 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01798/0.3807, allocations: 7.369 MB / 0.5616 GB, free: 3.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007912/0.3887, allocations: 165.8 kB / 0.5618 GB, free: 3.953 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.3919, allocations: 1.543 MB / 0.5633 GB, free: 3.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.3933, allocations: 450.6 kB / 0.5637 GB, free: 2.965 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.3937, allocations: 63.92 kB / 0.5638 GB, free: 2.934 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.3957, allocations: 1.629 MB / 0.5654 GB, free: 2.395 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.3977, allocations: 1.584 MB / 0.5669 GB, free: 1.789 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009098/0.3987, allocations: 0.5077 MB / 0.5674 GB, free: 1.559 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.4, allocations: 0.7464 MB / 0.5681 GB, free: 1.238 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004043/0.4004, allocations: 107.8 kB / 0.5683 GB, free: 1.238 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.401, allocations: 118 kB / 0.5684 GB, free: 1.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009557/0.4019, allocations: 0.7334 MB / 0.5691 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.4034, allocations: 0.8573 MB / 0.5699 GB, free: 384 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.4063, allocations: 2.217 MB / 0.5721 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4063, allocations: 0.5625 kB / 0.5721 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4063, allocations: 5.031 kB / 0.5721 GB, free: 14.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.047e-05/0.4064, allocations: 0 / 0.5721 GB, free: 14.94 MB / 394.7 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.002742/0.4091, allocations: 1.955 MB / 0.574 GB, free: 13.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4092, allocations: 8.031 kB / 0.574 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000514/0.4097, allocations: 218.1 kB / 0.5742 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.4108, allocations: 0.7224 MB / 0.5749 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8e-05/0.4109, allocations: 119.4 kB / 0.575 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.4111, allocations: 156.1 kB / 0.5752 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/0.415, allocations: 3.375 MB / 0.5785 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.415, allocations: 19.81 kB / 0.5785 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.4152, allocations: 75.88 kB / 0.5786 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006855/0.4158, allocations: 0.6227 MB / 0.5792 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.4186, allocations: 1.858 MB / 0.581 GB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.4301, allocations: 13.53 MB / 0.5942 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.022e-05/0.4302, allocations: 173.1 kB / 0.5944 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.4303, allocations: 80.14 kB / 0.5944 GB, free: 7.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.4303, allocations: 83.22 kB / 0.5945 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.4303, allocations: 105.8 kB / 0.5946 GB, free: 7.137 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.4304, allocations: 0 / 0.5946 GB, free: 7.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002252/0.4306, allocations: 156 kB / 0.5948 GB, free: 6.977 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.4306, allocations: 126.7 kB / 0.5949 GB, free: 6.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.4325, allocations: 1.659 MB / 0.5965 GB, free: 5.172 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.4325, allocations: 25.7 kB / 0.5965 GB, free: 5.141 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009089/0.4334, allocations: 1.355 MB / 0.5979 GB, free: 3.762 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.4335, allocations: 47.95 kB / 0.5979 GB, free: 3.715 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.4339, allocations: 422.7 kB / 0.5983 GB, free: 3.293 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4341, allocations: 357.9 kB / 0.5986 GB, free: 2.938 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.4346, allocations: 367.8 kB / 0.599 GB, free: 2.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.4361, allocations: 1.929 MB / 0.6009 GB, free: 15.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.4385, allocations: 2.515 MB / 0.6033 GB, free: 12.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.007e-05/0.4385, allocations: 16 kB / 0.6034 GB, free: 12.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002934/0.4415, allocations: 2.119 MB / 0.6054 GB, free: 10.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.4415, allocations: 28 kB / 0.6055 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.676e-05/0.4416, allocations: 56.09 kB / 0.6055 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.118e-05/0.4417, allocations: 80 kB / 0.6056 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.4427, allocations: 483.1 kB / 0.606 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-05/0.4428, allocations: 115.5 kB / 0.6062 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.4441, allocations: 320.5 kB / 0.6065 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.4442, allocations: 136 kB / 0.6066 GB, free: 9.176 MB / 426.7 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.001113/0.4453, allocations: 0.8589 MB / 0.6074 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.4455, allocations: 231.3 kB / 0.6076 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.4457, allocations: 232.5 kB / 0.6079 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.566e-05/0.4457, allocations: 176.3 kB / 0.608 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-05/0.4458, allocations: 180.2 kB / 0.6082 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.849e-05/0.4459, allocations: 192.2 kB / 0.6084 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.4474, allocations: 1.477 MB / 0.6098 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.4474, allocations: 108.9 kB / 0.6099 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.4475, allocations: 105 kB / 0.61 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.495e-05/0.4476, allocations: 184.2 kB / 0.6102 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.577e-05/0.4476, allocations: 184.3 kB / 0.6104 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-05/0.4477, allocations: 188.2 kB / 0.6106 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-05/0.4478, allocations: 176.3 kB / 0.6107 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.4485, allocations: 1.142 MB / 0.6119 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.4488, allocations: 300.4 kB / 0.6121 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.4489, allocations: 180.3 kB / 0.6123 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.4492, allocations: 109 kB / 0.6124 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.4493, allocations: 176.3 kB / 0.6126 GB, free: 2.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.4494, allocations: 109 kB / 0.6127 GB, free: 2.648 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001134/0.4505, allocations: 1.014 MB / 0.6137 GB, free: 1.637 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4505, allocations: 7.938 kB / 0.6137 GB, free: 1.629 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001618/0.4521, allocations: 438 kB / 0.6141 GB, free: 1.199 MB / 426.7 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.000163/0.4523, allocations: 174.5 kB / 0.6143 GB, free: 1.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.4534, allocations: 0.8951 MB / 0.6151 GB, free: 140 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4534, allocations: 4.938 kB / 0.6151 GB, free: 136 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.4534, allocations: 0 / 0.6151 GB, free: 136 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.4542, allocations: 0.6412 MB / 0.6158 GB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/0.4585, allocations: 3.582 MB / 0.6193 GB, free: 11.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.4597, allocations: 1.583 MB / 0.6208 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001296/0.461, allocations: 491.4 kB / 0.6213 GB, free: 9.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.4612, allocations: 75.44 kB / 0.6214 GB, free: 9.699 MB / 442.7 MB Notification: Performance of SimCode: time 2.024e-06/0.4612, allocations: 0 / 0.6214 GB, free: 9.699 MB / 442.7 MB Notification: Performance of Templates: time 0.01736/0.4785, allocations: 8.351 MB / 0.6295 GB, free: 1.391 MB / 442.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches