Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.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.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 199 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 226.5 MB / 244.1 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007459/0.0007459, allocations: 98 kB / 296.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.315/0.315, allocations: 44.83 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002706, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2869, allocations: 62.95 MB / 0.5165 GB, free: 37.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.3974, allocations: 96.81 MB / 0.611 GB, free: 8.578 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.3976, allocations: 79.95 kB / 0.6111 GB, free: 8.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03084/0.4285, allocations: 13.33 MB / 0.6241 GB, free: 11.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4285, allocations: 0 / 0.6241 GB, free: 11.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.71e-05/0.4286, allocations: 19.98 kB / 0.6241 GB, free: 11.09 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001261/0.4298, allocations: 0.9152 MB / 0.625 GB, free: 10.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.4299, allocations: 8.031 kB / 0.625 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.4309, allocations: 227.6 kB / 0.6252 GB, free: 9.887 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.4317, allocations: 0.5054 MB / 0.6257 GB, free: 9.344 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.4317, allocations: 57.67 kB / 0.6258 GB, free: 9.289 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.831e-05/0.4318, allocations: 64.3 kB / 0.6258 GB, free: 9.227 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.4333, allocations: 1.273 MB / 0.6271 GB, free: 7.805 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.4334, allocations: 12.06 kB / 0.6271 GB, free: 7.793 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.4334, allocations: 35.94 kB / 0.6271 GB, free: 7.758 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.4336, allocations: 100.9 kB / 0.6272 GB, free: 7.656 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.4347, allocations: 0.8348 MB / 0.628 GB, free: 6.824 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004524/0.4393, allocations: 6.004 MB / 0.6339 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.4395, allocations: 66.56 kB / 0.634 GB, free: 0.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4396, allocations: 48.91 kB / 0.634 GB, free: 460 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.4396, allocations: 4 kB / 0.634 GB, free: 456 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.4396, allocations: 30.56 kB / 0.634 GB, free: 416 kB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.4396, allocations: 4 kB / 0.634 GB, free: 412 kB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004958/0.4401, allocations: 236.6 kB / 0.6343 GB, free: 168 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.4402, allocations: 59.34 kB / 0.6343 GB, free: 96 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.4412, allocations: 0.8438 MB / 0.6352 GB, free: 15.24 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.4412, allocations: 29.64 kB / 0.6352 GB, free: 15.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.4415, allocations: 0.536 MB / 0.6357 GB, free: 14.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.4416, allocations: 23.88 kB / 0.6357 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.4416, allocations: 16 kB / 0.6357 GB, free: 14.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4418, allocations: 382.8 kB / 0.6361 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.4421, allocations: 181.9 kB / 0.6363 GB, free: 14.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/0.4427, allocations: 0.739 MB / 0.637 GB, free: 13.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.4438, allocations: 0.9859 MB / 0.638 GB, free: 11.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.4438, allocations: 4 kB / 0.638 GB, free: 11.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001323/0.4451, allocations: 0.8793 MB / 0.6388 GB, free: 10.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.4452, allocations: 24.92 kB / 0.6389 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.4452, allocations: 20 kB / 0.6389 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/0.4452, allocations: 28 kB / 0.6389 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.4457, allocations: 179.7 kB / 0.6391 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.462e-05/0.4458, allocations: 35.86 kB / 0.6391 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.4463, allocations: 122.8 kB / 0.6392 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.4464, allocations: 48 kB / 0.6393 GB, free: 10.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (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],fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * 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.0005268/0.4469, allocations: 388.4 kB / 0.6396 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.447, allocations: 67.12 kB / 0.6397 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.4471, allocations: 69.44 kB / 0.6398 GB, free: 9.895 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4471, allocations: 0 / 0.6398 GB, free: 9.895 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4471, allocations: 4 kB / 0.6398 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4471, allocations: 0 / 0.6398 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.4478, allocations: 0.5442 MB / 0.6403 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4478, allocations: 0 / 0.6403 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.4479, allocations: 15.98 kB / 0.6403 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.4479, allocations: 7.938 kB / 0.6403 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4479, allocations: 0 / 0.6403 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4479, allocations: 3.984 kB / 0.6403 GB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4479, allocations: 0 / 0.6403 GB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.4483, allocations: 286.7 kB / 0.6406 GB, free: 8.973 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.4484, allocations: 136.3 kB / 0.6407 GB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.4485, allocations: 11.94 kB / 0.6407 GB, free: 8.809 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.4487, allocations: 8 kB / 0.6407 GB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.4488, allocations: 11.97 kB / 0.6408 GB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.4488, allocations: 0 / 0.6408 GB, free: 8.789 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006168/0.4494, allocations: 0.5497 MB / 0.6413 GB, free: 8.242 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4494, allocations: 0 / 0.6413 GB, free: 8.242 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006809/0.4501, allocations: 159.4 kB / 0.6415 GB, free: 8.086 MB / 458.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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0001617/0.4502, allocations: 107.2 kB / 0.6416 GB, free: 7.969 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.4509, allocations: 424.6 kB / 0.642 GB, free: 7.559 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.451, allocations: 3.938 kB / 0.642 GB, free: 7.555 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.4511, allocations: 64 kB / 0.642 GB, free: 7.492 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.4517, allocations: 92.22 kB / 0.6421 GB, free: 7.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.4535, allocations: 1.475 MB / 0.6436 GB, free: 5.895 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.4541, allocations: 1.027 MB / 0.6446 GB, free: 4.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.4542, allocations: 51.42 kB / 0.6446 GB, free: 4.789 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4542, allocations: 0 / 0.6446 GB, free: 4.789 MB / 458.7 MB Notification: Performance of Templates: time 0.01152/0.4658, allocations: 7.922 MB / 0.6523 GB, free: 12.88 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches