Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009556/0.0009555, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001338, allocations: 101.7 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1951/0.1951, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.856e-05, allocations: 224 / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1391, allocations: 61.91 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4177/0.5569, allocations: 95.1 MB / 0.5875 GB, free: 1.434 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5572, allocations: 79.95 kB / 0.5876 GB, free: 1.355 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03349/0.5907, allocations: 13.11 MB / 0.6004 GB, free: 4.191 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5907, allocations: 0 / 0.6004 GB, free: 4.191 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.545e-05/0.5908, allocations: 12 kB / 0.6004 GB, free: 4.18 MB / 410.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.001173/0.592, allocations: 0.8448 MB / 0.6012 GB, free: 3.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.592, allocations: 11.98 kB / 0.6013 GB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009298/0.5929, allocations: 182.7 kB / 0.6014 GB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.5937, allocations: 0.4951 MB / 0.6019 GB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.5937, allocations: 20 kB / 0.6019 GB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.5938, allocations: 40 kB / 0.602 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008864/0.5947, allocations: 0.6591 MB / 0.6026 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.5961, allocations: 1.149 MB / 0.6037 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.5962, allocations: 3.938 kB / 0.6037 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/0.5962, allocations: 4 kB / 0.6037 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.5964, allocations: 108.7 kB / 0.6038 GB, free: 428 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004436/0.6008, allocations: 5.774 MB / 0.6095 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.941e-05/0.6009, allocations: 46.55 kB / 0.6095 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.601, allocations: 32.92 kB / 0.6096 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.601, allocations: 0 / 0.6096 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.601, allocations: 34.56 kB / 0.6096 GB, free: 10.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.601, allocations: 0 / 0.6096 GB, free: 10.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002842/0.6013, allocations: 140.8 kB / 0.6097 GB, free: 10.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.6014, allocations: 51.41 kB / 0.6098 GB, free: 10.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.6021, allocations: 0.6241 MB / 0.6104 GB, free: 9.441 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6021, allocations: 29.7 kB / 0.6104 GB, free: 9.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.6025, allocations: 0.5434 MB / 0.6109 GB, free: 8.852 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.6025, allocations: 23.89 kB / 0.611 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.6025, allocations: 0 / 0.611 GB, free: 8.828 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6027, allocations: 374.7 kB / 0.6113 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.6029, allocations: 145.5 kB / 0.6115 GB, free: 8.312 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/0.6034, allocations: 0.6877 MB / 0.6121 GB, free: 7.344 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.6038, allocations: 303.6 kB / 0.6124 GB, free: 7.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.6038, allocations: 11.94 kB / 0.6124 GB, free: 7.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001007/0.6048, allocations: 0.7122 MB / 0.6131 GB, free: 6.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.6049, allocations: 16 kB / 0.6131 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.6049, allocations: 20 kB / 0.6132 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-05/0.6049, allocations: 28 kB / 0.6132 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.6054, allocations: 180.4 kB / 0.6134 GB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.929e-05/0.6055, allocations: 35.86 kB / 0.6134 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.6059, allocations: 98.95 kB / 0.6135 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.606, allocations: 48 kB / 0.6135 GB, free: 5.898 MB / 426.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 () * 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.000139/0.6062, allocations: 175.3 kB / 0.6137 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.6062, allocations: 55.34 kB / 0.6138 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.6063, allocations: 61.02 kB / 0.6138 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.6064, allocations: 0 / 0.6138 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6064, allocations: 0 / 0.6138 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.6064, allocations: 3.938 kB / 0.6138 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.6069, allocations: 413.9 kB / 0.6142 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6069, allocations: 0 / 0.6142 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.607, allocations: 15.98 kB / 0.6142 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.607, allocations: 0 / 0.6142 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.607, allocations: 0 / 0.6142 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.607, allocations: 8 kB / 0.6142 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.607, allocations: 0 / 0.6142 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.6072, allocations: 238.7 kB / 0.6145 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.6074, allocations: 128.4 kB / 0.6146 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.6074, allocations: 0 / 0.6146 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.6076, allocations: 11.98 kB / 0.6146 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.6077, allocations: 7.984 kB / 0.6146 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.6077, allocations: 12 kB / 0.6146 GB, free: 4.703 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004553/0.6081, allocations: 439.1 kB / 0.615 GB, free: 4.281 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6082, allocations: 0 / 0.615 GB, free: 4.281 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006404/0.6088, allocations: 151.3 kB / 0.6152 GB, free: 4.133 MB / 426.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 () * 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.0001458/0.609, allocations: 95.25 kB / 0.6153 GB, free: 4.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004464/0.6094, allocations: 348.5 kB / 0.6156 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6094, allocations: 0 / 0.6156 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.904e-05/0.6095, allocations: 27.97 kB / 0.6156 GB, free: 3.664 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.6099, allocations: 89.67 kB / 0.6157 GB, free: 3.578 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.6114, allocations: 0.8121 MB / 0.6165 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.6121, allocations: 1.061 MB / 0.6175 GB, free: 1.648 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004858/0.6126, allocations: 192.5 kB / 0.6177 GB, free: 1.461 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.6126, allocations: 31.44 kB / 0.6178 GB, free: 1.43 MB / 426.7 MB Notification: Performance of SimCode: time 3.8e-07/0.6127, allocations: 4 kB / 0.6178 GB, free: 1.426 MB / 426.7 MB Notification: Performance of Templates: time 0.008335/0.621, allocations: 3.398 MB / 0.6211 GB, free: 14.05 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches