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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 104.6 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.001197/0.001197, 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.412/1.412, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.1 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 68.8 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1178, allocations: 62.45 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01213/0.13, allocations: 6.245 MB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005322/0.1353, allocations: 1.978 MB / 488.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009331/0.1363, allocations: 31.94 kB / 488.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.1384, allocations: 0.6151 MB / 489 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007283/0.1391, allocations: 190.9 kB / 489.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.1395, allocations: 59.88 kB / 489.2 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007799/0.1403, allocations: 418.2 kB / 489.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009312/0.1412, allocations: 0.4987 MB / 490.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.1418, allocations: 219.1 kB / 490.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.1425, allocations: 282.9 kB / 490.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.1426, allocations: 40 kB / 490.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.143, allocations: 87.89 kB / 490.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003959/0.1434, allocations: 267.2 kB / 491 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004802/0.1439, allocations: 318 kB / 491.3 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.1451, allocations: 0.7941 MB / 492.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1451, allocations: 0 / 492.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1451, allocations: 0 / 492.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.1452, allocations: 4 kB / 492.1 MB, free: 9.09 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.002261/0.1475, allocations: 0.9385 MB / 493.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.1475, allocations: 8.031 kB / 493.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002286/0.1478, allocations: 110.7 kB / 493.2 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.149, allocations: 163.7 kB / 493.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009859/0.15, allocations: 437.8 kB / 493.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.1501, allocations: 33.36 kB / 493.8 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.1502, allocations: 43.92 kB / 493.8 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.1523, allocations: 1.082 MB / 494.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.1523, allocations: 4 kB / 494.9 MB, free: 6.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.1524, allocations: 23.98 kB / 495 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005315/0.1529, allocations: 192.3 kB / 495.1 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.1547, allocations: 0.7122 MB / 495.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00597/0.1607, allocations: 4.665 MB / 0.4888 GB, free: 312 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.161, allocations: 54.53 kB / 0.4888 GB, free: 248 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.1611, allocations: 48.89 kB / 0.4889 GB, free: 196 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1612, allocations: 4 kB / 0.4889 GB, free: 192 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1612, allocations: 34.56 kB / 0.4889 GB, free: 148 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.665e-06/0.1612, allocations: 0 / 0.4889 GB, free: 148 kB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007354/0.162, allocations: 212.7 kB / 0.4891 GB, free: 15.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.1621, allocations: 55.39 kB / 0.4892 GB, free: 15.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.1635, allocations: 0.8203 MB / 0.49 GB, free: 15.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.1635, allocations: 29.7 kB / 0.49 GB, free: 15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004944/0.164, allocations: 0.5044 MB / 0.4905 GB, free: 14.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.164, allocations: 27.8 kB / 0.4905 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.1643, allocations: 170.4 kB / 0.4907 GB, free: 14.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.1645, allocations: 374.8 kB / 0.4911 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.165, allocations: 177.9 kB / 0.4912 GB, free: 13.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009988/0.166, allocations: 0.7351 MB / 0.4919 GB, free: 12.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.1677, allocations: 0.982 MB / 0.4929 GB, free: 11.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/0.1677, allocations: 11.94 kB / 0.4929 GB, free: 11.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002402/0.1701, allocations: 0.8685 MB / 0.4938 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.1702, allocations: 12.19 kB / 0.4938 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-05/0.1703, allocations: 28 kB / 0.4938 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-05/0.1703, allocations: 31.94 kB / 0.4938 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007825/0.1711, allocations: 171.7 kB / 0.494 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.135e-05/0.1712, allocations: 39.8 kB / 0.494 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008442/0.172, allocations: 118.8 kB / 0.4941 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.1721, allocations: 52 kB / 0.4942 GB, free: 10.12 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.0004784/0.1726, allocations: 355.5 kB / 0.4945 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1727, allocations: 63.14 kB / 0.4946 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.1729, allocations: 65.22 kB / 0.4947 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1729, allocations: 3.938 kB / 0.4947 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1729, allocations: 4 kB / 0.4947 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1729, allocations: 0 / 0.4947 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.1735, allocations: 0.4935 MB / 0.4951 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1736, allocations: 0 / 0.4951 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.1737, allocations: 11.98 kB / 0.4952 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1737, allocations: 0 / 0.4952 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1737, allocations: 7.938 kB / 0.4952 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1737, allocations: 0 / 0.4952 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1737, allocations: 0 / 0.4952 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005795/0.1743, allocations: 270.6 kB / 0.4954 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.1745, allocations: 132.3 kB / 0.4955 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.1746, allocations: 3.938 kB / 0.4955 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.175, allocations: 8 kB / 0.4956 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.175, allocations: 7.984 kB / 0.4956 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1751, allocations: 3.984 kB / 0.4956 GB, free: 8.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009943/0.1761, allocations: 0.5341 MB / 0.4961 GB, free: 8.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1761, allocations: 0 / 0.4961 GB, free: 8.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001103/0.1772, allocations: 135.7 kB / 0.4962 GB, free: 7.941 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.000913/0.1781, allocations: 0.8055 MB / 0.497 GB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.1791, allocations: 419.8 kB / 0.4974 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.1792, allocations: 0 / 0.4974 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.1793, allocations: 51.94 kB / 0.4975 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008137/0.1802, allocations: 94.3 kB / 0.4975 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2121/0.3923, allocations: 6.275 MB / 0.5037 GB, free: 41.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.3929, allocations: 0.9862 MB / 0.5046 GB, free: 40.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006308/0.3935, allocations: 206.7 kB / 0.5048 GB, free: 40.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.3938, allocations: 232.4 kB / 0.5051 GB, free: 40.54 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3938, allocations: 3.344 kB / 0.5051 GB, free: 40.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.4243, allocations: 10.76 MB / 0.5156 GB, free: 38.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.53, allocations: 7.938 kB / 0.5156 GB, free: 38.12 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv","/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