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.001165/0.001166, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 71.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 62.46 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007213/0.1195, allocations: 6.235 MB / 487.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.1231, allocations: 1.97 MB / 489.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.1235, allocations: 31.94 kB / 489.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.1247, allocations: 0.6229 MB / 490.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.1252, allocations: 186.9 kB / 490.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.1254, allocations: 63.86 kB / 490.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000456/0.1258, allocations: 414.2 kB / 491 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006553/0.1265, allocations: 0.4987 MB / 491.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.1268, allocations: 227.1 kB / 491.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.1272, allocations: 286.9 kB / 492 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.759e-05/0.1273, allocations: 36 kB / 492 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.1275, allocations: 79.91 kB / 492.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.1278, allocations: 271.1 kB / 492.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.1281, allocations: 318 kB / 492.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008291/0.1289, allocations: 0.8173 MB / 493.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1289, allocations: 4 kB / 493.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1289, allocations: 0 / 493.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1289, allocations: 0 / 493.5 MB, free: 8.449 MB / 366.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.001529/0.1305, allocations: 0.9385 MB / 494.4 MB, free: 7.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1305, allocations: 12.02 kB / 494.4 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000755/0.1313, allocations: 147.8 kB / 494.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/0.132, allocations: 453.7 kB / 495 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1321, allocations: 29.36 kB / 495 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/0.1322, allocations: 48.11 kB / 495.1 MB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.1336, allocations: 1.082 MB / 496.2 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1336, allocations: 7.938 kB / 496.2 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.1337, allocations: 19.98 kB / 496.2 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003193/0.134, allocations: 196.3 kB / 496.4 MB, free: 5.332 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.135, allocations: 0.7083 MB / 497.1 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.139, allocations: 4.649 MB / 0.49 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1391, allocations: 50.53 kB / 0.49 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1392, allocations: 52.91 kB / 0.4901 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.1392, allocations: 0 / 0.4901 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1393, allocations: 42.53 kB / 0.4901 GB, free: 15.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1393, allocations: 0 / 0.4901 GB, free: 15.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004685/0.1398, allocations: 208.7 kB / 0.4903 GB, free: 15.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1398, allocations: 55.41 kB / 0.4904 GB, free: 15.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008553/0.1407, allocations: 0.824 MB / 0.4912 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1407, allocations: 25.7 kB / 0.4912 GB, free: 14.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.141, allocations: 0.5005 MB / 0.4917 GB, free: 13.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1411, allocations: 27.8 kB / 0.4917 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.1412, allocations: 170.4 kB / 0.4919 GB, free: 13.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1414, allocations: 374.8 kB / 0.4922 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.1417, allocations: 185.8 kB / 0.4924 GB, free: 13.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.1424, allocations: 0.7312 MB / 0.4931 GB, free: 12.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.1434, allocations: 0.9781 MB / 0.4941 GB, free: 10.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.1434, allocations: 4 kB / 0.4941 GB, free: 10.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001253/0.1447, allocations: 0.8761 MB / 0.4949 GB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.1447, allocations: 16 kB / 0.495 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.1448, allocations: 20 kB / 0.495 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.196e-05/0.1448, allocations: 27.94 kB / 0.495 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.1453, allocations: 183.6 kB / 0.4952 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.504e-05/0.1453, allocations: 39.8 kB / 0.4952 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.1458, allocations: 119.2 kB / 0.4953 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.1459, allocations: 56 kB / 0.4954 GB, free: 9.605 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.000357/0.1462, allocations: 347.5 kB / 0.4957 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.1463, allocations: 59.25 kB / 0.4958 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.755e-05/0.1464, allocations: 65.27 kB / 0.4958 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1464, allocations: 3.938 kB / 0.4958 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1464, allocations: 0 / 0.4958 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1465, allocations: 4 kB / 0.4958 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.147, allocations: 0.4973 MB / 0.4963 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.147, allocations: 0 / 0.4963 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/0.1471, allocations: 11.98 kB / 0.4963 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1471, allocations: 0 / 0.4963 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1471, allocations: 3.984 kB / 0.4963 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1471, allocations: 3.938 kB / 0.4963 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1471, allocations: 3.984 kB / 0.4964 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.1475, allocations: 274.6 kB / 0.4966 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1476, allocations: 128.4 kB / 0.4967 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.1477, allocations: 3.984 kB / 0.4967 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.1478, allocations: 7.938 kB / 0.4967 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.1479, allocations: 8.219 kB / 0.4968 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.1479, allocations: 3.938 kB / 0.4968 GB, free: 8.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006559/0.1486, allocations: 0.5341 MB / 0.4973 GB, free: 7.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1486, allocations: 0 / 0.4973 GB, free: 7.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005957/0.1492, allocations: 139.7 kB / 0.4974 GB, free: 7.426 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.0001339/0.1493, allocations: 95.23 kB / 0.4975 GB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006073/0.1499, allocations: 428.3 kB / 0.4979 GB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1499, allocations: 0 / 0.4979 GB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1501, allocations: 43.95 kB / 0.498 GB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.1506, allocations: 86.89 kB / 0.498 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.1521, allocations: 1.08 MB / 0.4991 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.1527, allocations: 0.9831 MB / 0.5001 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004155/0.1531, allocations: 204.9 kB / 0.5002 GB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.1532, allocations: 39.42 kB / 0.5003 GB, free: 4.422 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1532, allocations: 4 kB / 0.5003 GB, free: 4.418 MB / 382.1 MB Notification: Performance of Templates: time 0.008456/0.1616, allocations: 4.44 MB / 0.5046 GB, free: 16 kB / 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 -s cvode -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