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.0009075/0.0009121, allocations: 197.4 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.5 MB / 243.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007638/0.0007639, allocations: 96.31 kB / 295.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2013/0.2013, allocations: 44.84 MB / 392 MB, free: 9.352 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002338/0.0002339, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.08874, allocations: 62.95 MB / 0.5153 GB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.1859/0.2747, allocations: 18.35 MB / 0.5332 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008099/0.2828, allocations: 4.059 MB / 0.5372 GB, free: 14.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.286, allocations: 80.19 kB / 0.5373 GB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.2881, allocations: 0.7896 MB / 0.538 GB, free: 13.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005723/0.2939, allocations: 2.228 MB / 0.5402 GB, free: 12.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.2944, allocations: 43.02 kB / 0.5403 GB, free: 12.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008469/0.2952, allocations: 0.5728 MB / 0.5408 GB, free: 12.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.2965, allocations: 0.7472 MB / 0.5416 GB, free: 12.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.2969, allocations: 187.2 kB / 0.5417 GB, free: 12.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/0.2973, allocations: 269.4 kB / 0.542 GB, free: 12.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-05/0.2974, allocations: 19.62 kB / 0.542 GB, free: 12.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.2976, allocations: 59.34 kB / 0.5421 GB, free: 12.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.2979, allocations: 257.6 kB / 0.5423 GB, free: 12.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.298, allocations: 152.2 kB / 0.5425 GB, free: 11.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007937/0.2988, allocations: 0.6937 MB / 0.5431 GB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2988, allocations: 3.938 kB / 0.5431 GB, free: 11.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2988, allocations: 0.5156 kB / 0.5431 GB, free: 11.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.2989, allocations: 0 / 0.5431 GB, free: 11.81 MB / 362.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.001462/0.3003, allocations: 0.8845 MB / 0.544 GB, free: 11.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.3004, allocations: 9.5 kB / 0.544 GB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000778/0.3012, allocations: 176.7 kB / 0.5442 GB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.3018, allocations: 439.5 kB / 0.5446 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.3018, allocations: 34.92 kB / 0.5446 GB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.3019, allocations: 41.48 kB / 0.5447 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.3036, allocations: 1.25 MB / 0.5459 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3036, allocations: 6.062 kB / 0.5459 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.3037, allocations: 19.7 kB / 0.5459 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003939/0.3041, allocations: 254.2 kB / 0.5462 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.3056, allocations: 0.8149 MB / 0.547 GB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/0.3099, allocations: 5.072 MB / 0.5519 GB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.31, allocations: 67.11 kB / 0.552 GB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3101, allocations: 53.38 kB / 0.552 GB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.3101, allocations: 0.9688 kB / 0.552 GB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3102, allocations: 35.53 kB / 0.5521 GB, free: 4.891 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3102, allocations: 0 / 0.5521 GB, free: 4.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005109/0.3107, allocations: 232.2 kB / 0.5523 GB, free: 4.766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.3107, allocations: 52.41 kB / 0.5523 GB, free: 4.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.3118, allocations: 0.8532 MB / 0.5532 GB, free: 4.207 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3118, allocations: 26.86 kB / 0.5532 GB, free: 4.176 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.3122, allocations: 0.5362 MB / 0.5537 GB, free: 3.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.3122, allocations: 27.61 kB / 0.5537 GB, free: 3.672 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.3122, allocations: 10.38 kB / 0.5537 GB, free: 3.664 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3124, allocations: 378.1 kB / 0.5541 GB, free: 3.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.3127, allocations: 191.2 kB / 0.5543 GB, free: 3.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/0.3134, allocations: 0.7352 MB / 0.555 GB, free: 2.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.3139, allocations: 345 kB / 0.5553 GB, free: 2.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/0.3139, allocations: 5.438 kB / 0.5553 GB, free: 2.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001243/0.3151, allocations: 0.8865 MB / 0.5562 GB, free: 1.711 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3152, allocations: 15.56 kB / 0.5562 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.3152, allocations: 20.06 kB / 0.5562 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.3152, allocations: 28.66 kB / 0.5563 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.3157, allocations: 178.3 kB / 0.5564 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.621e-05/0.3157, allocations: 37.95 kB / 0.5565 GB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.3162, allocations: 125.5 kB / 0.5566 GB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.3163, allocations: 48 kB / 0.5566 GB, free: 1.574 MB / 362.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 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.arrowLine.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003916/0.3167, allocations: 389.9 kB / 0.557 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.3168, allocations: 61.5 kB / 0.5571 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.414e-05/0.3168, allocations: 63.7 kB / 0.5571 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3169, allocations: 4.906 kB / 0.5571 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3169, allocations: 3.984 kB / 0.5571 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3169, allocations: 3.938 kB / 0.5571 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.3175, allocations: 0.5494 MB / 0.5577 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3175, allocations: 4 kB / 0.5577 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/0.3176, allocations: 17.23 kB / 0.5577 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3176, allocations: 0 / 0.5577 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3176, allocations: 1.531 kB / 0.5577 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3176, allocations: 0 / 0.5577 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3176, allocations: 192 / 0.5577 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.318, allocations: 293 kB / 0.558 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.3181, allocations: 138 kB / 0.5581 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.3182, allocations: 5.078 kB / 0.5581 GB, free: 448 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3183, allocations: 8.094 kB / 0.5581 GB, free: 448 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.3184, allocations: 10.95 kB / 0.5581 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3184, allocations: 5.109 kB / 0.5581 GB, free: 436 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005686/0.319, allocations: 0.5496 MB / 0.5587 GB, free: 120 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.319, allocations: 0 / 0.5587 GB, free: 120 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005586/0.3196, allocations: 152.2 kB / 0.5588 GB, free: 84 kB / 362.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.000126/0.3197, allocations: 92.25 kB / 0.5589 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000633/0.3203, allocations: 431.1 kB / 0.5593 GB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3203, allocations: 3.938 kB / 0.5593 GB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3205, allocations: 55.89 kB / 0.5594 GB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.321, allocations: 92.33 kB / 0.5595 GB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.3227, allocations: 1.483 MB / 0.5609 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.3233, allocations: 1.034 MB / 0.5619 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/0.3233, allocations: 43.44 kB / 0.562 GB, free: 12.94 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3234, allocations: 4 kB / 0.562 GB, free: 12.93 MB / 378.7 MB Notification: Performance of Templates: time 0.009096/0.3325, allocations: 7.97 MB / 0.5698 GB, free: 4.988 MB / 378.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/jenkins/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