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.001102/0.001102, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 74.69 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1328, allocations: 62.44 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007265/0.1401, allocations: 6.241 MB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.1438, allocations: 1.986 MB / 488.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/0.1443, allocations: 27.94 kB / 488.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.1457, allocations: 0.6112 MB / 488.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.1462, allocations: 194.9 kB / 489.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1464, allocations: 59.86 kB / 489.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.1469, allocations: 414.2 kB / 489.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005918/0.1475, allocations: 0.4987 MB / 490 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.1478, allocations: 227.1 kB / 490.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.1483, allocations: 278.9 kB / 490.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.531e-05/0.1484, allocations: 36 kB / 490.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.1486, allocations: 87.89 kB / 490.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.1488, allocations: 267.2 kB / 490.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.1492, allocations: 322 kB / 491.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008023/0.15, allocations: 0.7863 MB / 492 MB, free: 9.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.15, allocations: 0 / 492 MB, free: 9.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.15, allocations: 4 kB / 492 MB, free: 9.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.15, allocations: 0 / 492 MB, free: 9.223 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.001365/0.1514, allocations: 0.9424 MB / 493 MB, free: 8.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1514, allocations: 8.031 kB / 493 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007724/0.1522, allocations: 159.8 kB / 493.1 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.1528, allocations: 441.7 kB / 493.5 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.1528, allocations: 29.36 kB / 493.6 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.1529, allocations: 48.11 kB / 493.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.1541, allocations: 1.078 MB / 494.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1542, allocations: 3.938 kB / 494.7 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.1542, allocations: 23.98 kB / 494.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003218/0.1546, allocations: 188.3 kB / 494.9 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.1556, allocations: 0.7226 MB / 495.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/0.1595, allocations: 4.661 MB / 0.4886 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1597, allocations: 62.47 kB / 0.4886 GB, free: 496 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1598, allocations: 40.91 kB / 0.4887 GB, free: 452 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1599, allocations: 8 kB / 0.4887 GB, free: 444 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1599, allocations: 34.56 kB / 0.4887 GB, free: 400 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.1599, allocations: 0 / 0.4887 GB, free: 400 kB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005162/0.1604, allocations: 208.7 kB / 0.4889 GB, free: 184 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1605, allocations: 55.34 kB / 0.489 GB, free: 116 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009013/0.1614, allocations: 0.824 MB / 0.4898 GB, free: 15.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1614, allocations: 25.7 kB / 0.4898 GB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.1617, allocations: 0.5083 MB / 0.4903 GB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1618, allocations: 27.8 kB / 0.4903 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.162, allocations: 170.4 kB / 0.4905 GB, free: 14.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1622, allocations: 370.8 kB / 0.4908 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.1625, allocations: 181.9 kB / 0.491 GB, free: 13.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.1632, allocations: 0.7312 MB / 0.4917 GB, free: 12.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.1642, allocations: 0.9781 MB / 0.4927 GB, free: 11.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.1643, allocations: 8 kB / 0.4927 GB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001255/0.1655, allocations: 0.8725 MB / 0.4935 GB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.1656, allocations: 16.03 kB / 0.4935 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.1656, allocations: 20 kB / 0.4936 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.864e-05/0.1656, allocations: 35.92 kB / 0.4936 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.1661, allocations: 171.7 kB / 0.4938 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.999e-05/0.1662, allocations: 35.86 kB / 0.4938 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.1667, allocations: 118.8 kB / 0.4939 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.1667, allocations: 48 kB / 0.494 GB, free: 10.38 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.0003572/0.1671, allocations: 367.6 kB / 0.4943 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.1672, allocations: 55.25 kB / 0.4944 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.44e-05/0.1673, allocations: 65.27 kB / 0.4944 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.1673, allocations: 7.938 kB / 0.4944 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1673, allocations: 4 kB / 0.4944 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1673, allocations: 0 / 0.4944 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.1679, allocations: 0.5011 MB / 0.4949 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1679, allocations: 0 / 0.4949 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.168, allocations: 11.98 kB / 0.4949 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.168, allocations: 4 kB / 0.4949 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.168, allocations: 0 / 0.4949 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.168, allocations: 3.938 kB / 0.4949 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.168, allocations: 3.984 kB / 0.4949 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.1685, allocations: 266.7 kB / 0.4952 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.1686, allocations: 132.3 kB / 0.4953 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.1687, allocations: 8 kB / 0.4953 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.1689, allocations: 11.92 kB / 0.4953 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.1689, allocations: 7.984 kB / 0.4954 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.1689, allocations: 0 / 0.4954 GB, free: 8.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006191/0.1696, allocations: 0.5341 MB / 0.4959 GB, free: 8.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1696, allocations: 0 / 0.4959 GB, free: 8.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006441/0.1702, allocations: 135.7 kB / 0.496 GB, free: 8.184 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.0001985/0.1704, allocations: 99.23 kB / 0.4961 GB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006873/0.1711, allocations: 412.6 kB / 0.4965 GB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1711, allocations: 0 / 0.4965 GB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.1712, allocations: 56.02 kB / 0.4965 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.1718, allocations: 90.88 kB / 0.4966 GB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.1735, allocations: 1.095 MB / 0.4977 GB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.1741, allocations: 0.9872 MB / 0.4987 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004774/0.1746, allocations: 200.7 kB / 0.4989 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.1747, allocations: 43.36 kB / 0.4989 GB, free: 5.156 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1747, allocations: 0 / 0.4989 GB, free: 5.156 MB / 382.1 MB Notification: Performance of Templates: time 0.009692/0.1844, allocations: 4.432 MB / 0.5032 GB, free: 0.7578 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