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.0008661/0.000866, allocations: 97.02 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 205.9 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.7 MB / 247.5 MB, free: 9.477 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1896/0.1896, allocations: 46.18 MB / 345.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002493/0.0002494, allocations: 8.375 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 63.57 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01585/0.1282, allocations: 16.03 MB / 499.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008474/0.1367, allocations: 3.615 MB / 0.4916 GB, free: 420 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.1401, allocations: 63.88 kB / 0.4916 GB, free: 356 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.1407, allocations: 79.52 kB / 0.4917 GB, free: 276 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007327/0.1414, allocations: 179.2 kB / 0.4919 GB, free: 96 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1417, allocations: 59.86 kB / 0.4919 GB, free: 36 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008047/0.1426, allocations: 0.619 MB / 0.4925 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.144, allocations: 0.8182 MB / 0.4933 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003775/0.1444, allocations: 167.2 kB / 0.4935 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.1448, allocations: 250.9 kB / 0.4937 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.379e-05/0.1449, allocations: 23.98 kB / 0.4938 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.1451, allocations: 75.88 kB / 0.4938 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.1454, allocations: 239.2 kB / 0.4941 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.1457, allocations: 299.8 kB / 0.4944 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.1463, allocations: 0.6234 MB / 0.495 GB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1464, allocations: 0 / 0.495 GB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1464, allocations: 0 / 0.495 GB, free: 12.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.1464, allocations: 3.938 kB / 0.495 GB, free: 12.9 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.001372/0.1478, allocations: 0.8296 MB / 0.4958 GB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.1478, allocations: 12.88 kB / 0.4958 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008111/0.1487, allocations: 163.8 kB / 0.4959 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006207/0.1493, allocations: 445.7 kB / 0.4964 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.1493, allocations: 29.36 kB / 0.4964 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.1494, allocations: 44.11 kB / 0.4964 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.151, allocations: 1.089 MB / 0.4975 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.151, allocations: 7.938 kB / 0.4975 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.1511, allocations: 19.98 kB / 0.4975 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003668/0.1514, allocations: 192.4 kB / 0.4977 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1527, allocations: 0.72 MB / 0.4984 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.1569, allocations: 4.669 MB / 0.503 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.1571, allocations: 70.53 kB / 0.503 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1572, allocations: 56.89 kB / 0.5031 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1572, allocations: 0 / 0.5031 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1572, allocations: 38.5 kB / 0.5031 GB, free: 4.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.1573, allocations: 0 / 0.5031 GB, free: 4.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005501/0.1578, allocations: 232.7 kB / 0.5034 GB, free: 3.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1579, allocations: 51.41 kB / 0.5034 GB, free: 3.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.1589, allocations: 0.8201 MB / 0.5042 GB, free: 3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1589, allocations: 25.7 kB / 0.5042 GB, free: 2.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.1594, allocations: 0.5044 MB / 0.5047 GB, free: 2.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.1594, allocations: 27.88 kB / 0.5047 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.1595, allocations: 81.67 kB / 0.5048 GB, free: 2.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1597, allocations: 374.8 kB / 0.5052 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.16, allocations: 185.9 kB / 0.5054 GB, free: 1.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/0.1607, allocations: 0.7429 MB / 0.5061 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2352/0.396, allocations: 0.985 MB / 0.507 GB, free: 41.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.732e-05/0.3961, allocations: 5.844 kB / 0.5071 GB, free: 41.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001989/0.3981, allocations: 0.8862 MB / 0.5079 GB, free: 41.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.3981, allocations: 13.28 kB / 0.5079 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.061e-05/0.3982, allocations: 21.67 kB / 0.508 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.176e-05/0.3983, allocations: 28.59 kB / 0.508 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/0.3989, allocations: 186.1 kB / 0.5082 GB, free: 41.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.804e-05/0.3989, allocations: 38.52 kB / 0.5082 GB, free: 41.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008228/0.3998, allocations: 118.8 kB / 0.5083 GB, free: 41.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.72e-05/0.3999, allocations: 47.19 kB / 0.5084 GB, free: 41.15 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.0005336/0.4004, allocations: 365.1 kB / 0.5087 GB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.4006, allocations: 60.69 kB / 0.5088 GB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.4007, allocations: 66.45 kB / 0.5088 GB, free: 41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4007, allocations: 0 / 0.5088 GB, free: 41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4007, allocations: 1.375 kB / 0.5088 GB, free: 41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4007, allocations: 0.6562 kB / 0.5088 GB, free: 41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007641/0.4015, allocations: 0.4932 MB / 0.5093 GB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4015, allocations: 3.062 kB / 0.5093 GB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-05/0.4016, allocations: 18.42 kB / 0.5093 GB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4016, allocations: 1.438 kB / 0.5093 GB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4016, allocations: 0.8438 kB / 0.5093 GB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.4017, allocations: 0 / 0.5093 GB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4017, allocations: 1.281 kB / 0.5093 GB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.4021, allocations: 287.2 kB / 0.5096 GB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.4023, allocations: 133.4 kB / 0.5097 GB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.4023, allocations: 3.375 kB / 0.5097 GB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.4026, allocations: 12.03 kB / 0.5097 GB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.4026, allocations: 11.84 kB / 0.5098 GB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.4026, allocations: 1.031 kB / 0.5098 GB, free: 40.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007687/0.4034, allocations: 0.5303 MB / 0.5103 GB, free: 40.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4034, allocations: 0 / 0.5103 GB, free: 40.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007767/0.4042, allocations: 143.9 kB / 0.5104 GB, free: 40.44 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.0001378/0.4043, allocations: 102.1 kB / 0.5105 GB, free: 40.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008603/0.4052, allocations: 427.4 kB / 0.5109 GB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4052, allocations: 0.6875 kB / 0.5109 GB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.4054, allocations: 55.22 kB / 0.511 GB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.406, allocations: 85 kB / 0.5111 GB, free: 40.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.4083, allocations: 1.415 MB / 0.5124 GB, free: 39.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.4089, allocations: 0.9817 MB / 0.5134 GB, free: 38.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.409, allocations: 43.86 kB / 0.5134 GB, free: 38.85 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4091, allocations: 0 / 0.5134 GB, free: 38.85 MB / 382.1 MB Notification: Performance of Templates: time 0.01586/0.4249, allocations: 7.375 MB / 0.5206 GB, free: 37.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches