Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.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.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001656, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002195/0.002195, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 75.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4366, allocations: 62.45 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00906/0.4457, allocations: 6.241 MB / 0.5371 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005258/0.451, allocations: 1.972 MB / 0.539 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009022/0.452, allocations: 26.28 kB / 0.539 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.4535, allocations: 0.6166 MB / 0.5396 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006883/0.4543, allocations: 202.8 kB / 0.5398 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.4547, allocations: 62.86 kB / 0.5399 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008192/0.4555, allocations: 423.9 kB / 0.5403 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009594/0.4565, allocations: 0.4988 MB / 0.5408 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006229/0.4571, allocations: 217.5 kB / 0.541 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006908/0.4578, allocations: 287.2 kB / 0.5413 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.458, allocations: 37.91 kB / 0.5413 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003198/0.4583, allocations: 91.38 kB / 0.5414 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003586/0.4587, allocations: 260.1 kB / 0.5416 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004948/0.4592, allocations: 316.9 kB / 0.5419 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.4604, allocations: 0.8134 MB / 0.5427 GB, free: 4.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4605, allocations: 0 / 0.5427 GB, free: 4.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4605, allocations: 0 / 0.5427 GB, free: 4.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.578e-05/0.4605, allocations: 1.031 kB / 0.5427 GB, free: 4.773 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002375/0.4629, allocations: 0.9533 MB / 0.5437 GB, free: 3.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4629, allocations: 9.562 kB / 0.5437 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007812/0.4637, allocations: 154 kB / 0.5438 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/0.4644, allocations: 448.3 kB / 0.5442 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.4645, allocations: 29.39 kB / 0.5443 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.683e-05/0.4646, allocations: 47.3 kB / 0.5443 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.4661, allocations: 1.074 MB / 0.5454 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4662, allocations: 6.438 kB / 0.5454 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.4662, allocations: 22.73 kB / 0.5454 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003272/0.4666, allocations: 192.3 kB / 0.5456 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.4677, allocations: 0.7122 MB / 0.5463 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.4719, allocations: 4.653 MB / 0.5508 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.4721, allocations: 58.53 kB / 0.5509 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.4722, allocations: 44.91 kB / 0.5509 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4722, allocations: 8 kB / 0.5509 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4723, allocations: 34.56 kB / 0.5509 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.4723, allocations: 0 / 0.5509 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005525/0.4728, allocations: 212.7 kB / 0.5512 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.4729, allocations: 51.41 kB / 0.5512 GB, free: 12.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.4739, allocations: 0.8241 MB / 0.552 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.4739, allocations: 25.7 kB / 0.552 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.4743, allocations: 0.5005 MB / 0.5525 GB, free: 11.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.4743, allocations: 31.78 kB / 0.5525 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.4746, allocations: 166.4 kB / 0.5527 GB, free: 10.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4747, allocations: 370.8 kB / 0.5531 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.4751, allocations: 185.8 kB / 0.5532 GB, free: 10.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/0.4758, allocations: 0.739 MB / 0.554 GB, free: 9.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.4769, allocations: 0.982 MB / 0.5549 GB, free: 8.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.911e-05/0.477, allocations: 4 kB / 0.5549 GB, free: 8.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001564/0.4785, allocations: 0.8724 MB / 0.5558 GB, free: 7.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.4786, allocations: 18.5 kB / 0.5558 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.15e-05/0.4786, allocations: 20 kB / 0.5558 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.858e-05/0.4787, allocations: 27.94 kB / 0.5558 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.4792, allocations: 175.7 kB / 0.556 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.162e-05/0.4792, allocations: 43.8 kB / 0.556 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.4799, allocations: 114.8 kB / 0.5562 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.4799, allocations: 51.98 kB / 0.5562 GB, free: 6.824 MB / 414.1 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 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.twoHeadedArrow,arrow.headAtOrigin,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.color[3],fixedArrow.color[2],fixedArrow.color[1],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004524/0.4804, allocations: 359.6 kB / 0.5565 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.4805, allocations: 63.34 kB / 0.5566 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.105e-05/0.4806, allocations: 65.27 kB / 0.5567 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.4806, allocations: 3.938 kB / 0.5567 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4806, allocations: 0 / 0.5567 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4806, allocations: 3.984 kB / 0.5567 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005824/0.4812, allocations: 0.4973 MB / 0.5572 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4812, allocations: 0 / 0.5572 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.4813, allocations: 15.98 kB / 0.5572 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.4813, allocations: 0 / 0.5572 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4813, allocations: 3.938 kB / 0.5572 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.4813, allocations: 3.938 kB / 0.5572 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.4814, allocations: 3.938 kB / 0.5572 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.4817, allocations: 266.7 kB / 0.5574 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.4819, allocations: 132.3 kB / 0.5576 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.482, allocations: 4 kB / 0.5576 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.4822, allocations: 11.92 kB / 0.5576 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.4823, allocations: 7.984 kB / 0.5576 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.4823, allocations: 0 / 0.5576 GB, free: 5.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007267/0.483, allocations: 0.5341 MB / 0.5581 GB, free: 4.762 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.483, allocations: 0 / 0.5581 GB, free: 4.762 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007075/0.4837, allocations: 135.7 kB / 0.5582 GB, free: 4.629 MB / 414.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 (3): * Single equations (assignments): 3 * 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.0001787/0.4839, allocations: 95.25 kB / 0.5583 GB, free: 4.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007458/0.4847, allocations: 416.6 kB / 0.5587 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4847, allocations: 4.062 kB / 0.5587 GB, free: 4.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.4848, allocations: 47.94 kB / 0.5588 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.4854, allocations: 99.03 kB / 0.5589 GB, free: 3.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.4874, allocations: 1.08 MB / 0.5599 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.4881, allocations: 0.9872 MB / 0.5609 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000466/0.4886, allocations: 208.8 kB / 0.5611 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.4887, allocations: 35.44 kB / 0.5611 GB, free: 1.621 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4887, allocations: 0 / 0.5611 GB, free: 1.621 MB / 414.1 MB Notification: Performance of Templates: time 0.01073/0.4994, allocations: 4.591 MB / 0.5656 GB, free: 13.06 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches