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.001244/0.001244, allocations: 108.5 kB / 17.85 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 213.7 kB / 18.79 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.9 MB, free: 8.984 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.12 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 76.39 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1191, allocations: 62.45 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01733/0.1365, allocations: 16.67 MB / 496.6 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008531/0.145, allocations: 3.642 MB / 0.4885 GB, free: 1.305 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.148, allocations: 63.88 kB / 0.4886 GB, free: 1.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.1498, allocations: 0.6077 MB / 0.4892 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000626/0.1505, allocations: 179.1 kB / 0.4893 GB, free: 468 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1508, allocations: 55.94 kB / 0.4894 GB, free: 412 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008069/0.1516, allocations: 0.6151 MB / 0.49 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008057/0.1524, allocations: 0.5052 MB / 0.4905 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.1529, allocations: 203.1 kB / 0.4907 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.1534, allocations: 306.8 kB / 0.491 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.1535, allocations: 32 kB / 0.491 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.1538, allocations: 87.92 kB / 0.4911 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.1541, allocations: 255.2 kB / 0.4913 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.1545, allocations: 318 kB / 0.4916 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007421/0.1552, allocations: 0.6236 MB / 0.4922 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.1552, allocations: 0 / 0.4922 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1552, allocations: 0 / 0.4922 GB, free: 13.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.09e-05/0.1553, allocations: 0 / 0.4922 GB, free: 13.47 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.001806/0.1571, allocations: 0.9425 MB / 0.4932 GB, free: 12.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1571, allocations: 8.875 kB / 0.4932 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008093/0.158, allocations: 155.8 kB / 0.4933 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/0.1587, allocations: 441.7 kB / 0.4937 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.1587, allocations: 33.36 kB / 0.4938 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.1588, allocations: 48.11 kB / 0.4938 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.1602, allocations: 1.074 MB / 0.4949 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.1603, allocations: 3.938 kB / 0.4949 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.1603, allocations: 27.98 kB / 0.4949 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003285/0.1607, allocations: 196.3 kB / 0.4951 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.1619, allocations: 0.7161 MB / 0.4958 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/0.1662, allocations: 4.661 MB / 0.5003 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1664, allocations: 58.52 kB / 0.5004 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1665, allocations: 48.91 kB / 0.5004 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1666, allocations: 0 / 0.5004 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1666, allocations: 30.56 kB / 0.5005 GB, free: 4.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.1666, allocations: 0 / 0.5005 GB, free: 4.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005849/0.1672, allocations: 216.8 kB / 0.5007 GB, free: 4.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1673, allocations: 55.41 kB / 0.5007 GB, free: 4.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.1683, allocations: 0.8201 MB / 0.5015 GB, free: 3.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1683, allocations: 29.7 kB / 0.5016 GB, free: 3.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.1687, allocations: 0.5004 MB / 0.502 GB, free: 2.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.1687, allocations: 27.88 kB / 0.5021 GB, free: 2.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.1689, allocations: 170.4 kB / 0.5022 GB, free: 2.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1691, allocations: 374.8 kB / 0.5026 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.1694, allocations: 181.8 kB / 0.5028 GB, free: 2.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/0.1701, allocations: 0.7312 MB / 0.5035 GB, free: 1.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2222/0.3923, allocations: 0.976 MB / 0.5044 GB, free: 43.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.99e-05/0.3924, allocations: 6.5 kB / 0.5044 GB, free: 43.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001621/0.394, allocations: 0.879 MB / 0.5053 GB, free: 43.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.394, allocations: 13.62 kB / 0.5053 GB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.3941, allocations: 20.28 kB / 0.5053 GB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.962e-05/0.3941, allocations: 30.06 kB / 0.5054 GB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.3946, allocations: 173.2 kB / 0.5055 GB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.323e-05/0.3947, allocations: 45.62 kB / 0.5056 GB, free: 43.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.3953, allocations: 113.6 kB / 0.5057 GB, free: 43.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.3954, allocations: 50.39 kB / 0.5057 GB, free: 43.47 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.0004596/0.3958, allocations: 358 kB / 0.5061 GB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.3959, allocations: 61.09 kB / 0.5061 GB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3961, allocations: 62.86 kB / 0.5062 GB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3961, allocations: 2.344 kB / 0.5062 GB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3961, allocations: 0 / 0.5062 GB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3961, allocations: 1.375 kB / 0.5062 GB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.3967, allocations: 0.4945 MB / 0.5067 GB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3967, allocations: 5.312 kB / 0.5067 GB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/0.3968, allocations: 11.55 kB / 0.5067 GB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3968, allocations: 0.8438 kB / 0.5067 GB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3968, allocations: 4.828 kB / 0.5067 GB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3968, allocations: 0.75 kB / 0.5067 GB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3968, allocations: 1.078 kB / 0.5067 GB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.3972, allocations: 272.8 kB / 0.507 GB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3973, allocations: 131.2 kB / 0.5071 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.3974, allocations: 5.859 kB / 0.5071 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.3976, allocations: 7.344 kB / 0.5071 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.3976, allocations: 9.125 kB / 0.5071 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.3976, allocations: 4.188 kB / 0.5071 GB, free: 42.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006199/0.3983, allocations: 0.5327 MB / 0.5076 GB, free: 42.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3983, allocations: 0 / 0.5076 GB, free: 42.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00069/0.399, allocations: 141.5 kB / 0.5078 GB, free: 42.4 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.0001287/0.3991, allocations: 97.36 kB / 0.5079 GB, free: 42.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006857/0.3998, allocations: 420.1 kB / 0.5083 GB, free: 42.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3998, allocations: 1.344 kB / 0.5083 GB, free: 42.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3999, allocations: 46.92 kB / 0.5083 GB, free: 42.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.4005, allocations: 83.61 kB / 0.5084 GB, free: 42.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.4022, allocations: 1.384 MB / 0.5097 GB, free: 41.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.4027, allocations: 0.9945 MB / 0.5107 GB, free: 40.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/0.4028, allocations: 46.75 kB / 0.5107 GB, free: 40.58 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4028, allocations: 0 / 0.5107 GB, free: 40.58 MB / 382.1 MB Notification: Performance of Templates: time 0.01441/0.4172, allocations: 7.489 MB / 0.5181 GB, free: 38.78 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