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.0009336/0.0009336, allocations: 97.05 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 201.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.8 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.000286, allocations: 15.92 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01544/0.1377, allocations: 16.03 MB / 499.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008248/0.146, allocations: 3.611 MB / 0.4909 GB, free: 452 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.149, allocations: 67.81 kB / 0.491 GB, free: 384 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.1494, allocations: 83.56 kB / 0.4911 GB, free: 300 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.15, allocations: 175.1 kB / 0.4913 GB, free: 124 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1502, allocations: 55.88 kB / 0.4913 GB, free: 68 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00065/0.1509, allocations: 0.6151 MB / 0.4919 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.1521, allocations: 0.8259 MB / 0.4927 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.1524, allocations: 159.2 kB / 0.4929 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.1528, allocations: 262.9 kB / 0.4931 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.1528, allocations: 16 kB / 0.4931 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.153, allocations: 71.89 kB / 0.4932 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.1532, allocations: 251.2 kB / 0.4934 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.1535, allocations: 299.8 kB / 0.4937 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006841/0.1542, allocations: 0.7665 MB / 0.4945 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1542, allocations: 4 kB / 0.4945 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1542, allocations: 0 / 0.4945 GB, free: 12.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1542, allocations: 0 / 0.4945 GB, free: 12.78 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001198/0.1554, allocations: 0.8296 MB / 0.4953 GB, free: 11.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1555, allocations: 8.875 kB / 0.4953 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000748/0.1562, allocations: 159.8 kB / 0.4954 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.1568, allocations: 449.7 kB / 0.4959 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.1568, allocations: 37.3 kB / 0.4959 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.1569, allocations: 44.11 kB / 0.496 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.1582, allocations: 1.089 MB / 0.497 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1583, allocations: 7.922 kB / 0.497 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/0.1583, allocations: 19.98 kB / 0.497 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003327/0.1586, allocations: 196.3 kB / 0.4972 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.1597, allocations: 0.7227 MB / 0.4979 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003893/0.1636, allocations: 4.661 MB / 0.5025 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1638, allocations: 66.52 kB / 0.5026 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.164, allocations: 56.84 kB / 0.5026 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.164, allocations: 4 kB / 0.5026 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.164, allocations: 34.56 kB / 0.5026 GB, free: 4.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.164, allocations: 0 / 0.5026 GB, free: 4.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005447/0.1646, allocations: 236.7 kB / 0.5029 GB, free: 3.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.1646, allocations: 51.41 kB / 0.5029 GB, free: 3.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009605/0.1656, allocations: 0.8278 MB / 0.5037 GB, free: 2.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1656, allocations: 25.7 kB / 0.5038 GB, free: 2.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.166, allocations: 0.5005 MB / 0.5042 GB, free: 2.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.1661, allocations: 19.89 kB / 0.5043 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/0.1662, allocations: 81.67 kB / 0.5043 GB, free: 2.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.1664, allocations: 382.8 kB / 0.5047 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.1667, allocations: 185.8 kB / 0.5049 GB, free: 1.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007922/0.1675, allocations: 0.7429 MB / 0.5056 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2526/0.4201, allocations: 0.9863 MB / 0.5066 GB, free: 41.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-05/0.4202, allocations: 6.344 kB / 0.5066 GB, free: 41.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001788/0.422, allocations: 0.8778 MB / 0.5074 GB, free: 41.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.422, allocations: 18.25 kB / 0.5074 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/0.422, allocations: 21.12 kB / 0.5075 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-05/0.4221, allocations: 28.72 kB / 0.5075 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.4226, allocations: 179.7 kB / 0.5077 GB, free: 41.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-05/0.4227, allocations: 38.75 kB / 0.5077 GB, free: 41.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.4233, allocations: 117.5 kB / 0.5078 GB, free: 41.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.4234, allocations: 49.47 kB / 0.5079 GB, free: 41.19 MB / 382.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.0004494/0.4238, allocations: 364.6 kB / 0.5082 GB, free: 41.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4239, allocations: 60.19 kB / 0.5083 GB, free: 41.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.424, allocations: 63.97 kB / 0.5083 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4241, allocations: 0.5938 kB / 0.5083 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4241, allocations: 1 kB / 0.5083 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4241, allocations: 4.078 kB / 0.5083 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.4246, allocations: 0.4963 MB / 0.5088 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4246, allocations: 1.594 kB / 0.5088 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.4247, allocations: 14.88 kB / 0.5088 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4247, allocations: 0 / 0.5088 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4247, allocations: 3.5 kB / 0.5088 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4247, allocations: 0 / 0.5088 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4247, allocations: 0 / 0.5088 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.4251, allocations: 285.1 kB / 0.5091 GB, free: 40.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.4252, allocations: 134.4 kB / 0.5092 GB, free: 40.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.4252, allocations: 3.906 kB / 0.5092 GB, free: 40.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.4254, allocations: 11.14 kB / 0.5093 GB, free: 40.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.4255, allocations: 13.17 kB / 0.5093 GB, free: 40.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-06/0.4255, allocations: 1.781 kB / 0.5093 GB, free: 40.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006872/0.4262, allocations: 0.5306 MB / 0.5098 GB, free: 40.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4262, allocations: 4 kB / 0.5098 GB, free: 40.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006676/0.4269, allocations: 147.2 kB / 0.5099 GB, free: 40.47 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 (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.0001441/0.427, allocations: 97.42 kB / 0.51 GB, free: 40.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008121/0.4278, allocations: 428.5 kB / 0.5104 GB, free: 40.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4279, allocations: 0 / 0.5104 GB, free: 40.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.428, allocations: 55.91 kB / 0.5105 GB, free: 40.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.4286, allocations: 88.94 kB / 0.5106 GB, free: 40.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.4303, allocations: 1.344 MB / 0.5119 GB, free: 39.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.4309, allocations: 0.9842 MB / 0.5128 GB, free: 38.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005263/0.4314, allocations: 205.3 kB / 0.513 GB, free: 38.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/0.4315, allocations: 40 kB / 0.5131 GB, free: 38.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4315, allocations: 0 / 0.5131 GB, free: 38.89 MB / 382.1 MB Notification: Performance of Templates: time 0.01089/0.4424, allocations: 4.161 MB / 0.5171 GB, free: 38.59 MB / 382.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