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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.23 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007907/0.1132, allocations: 6.342 MB / 475.6 MB, free: 8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003949/0.1172, allocations: 1.936 MB / 477.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009144/0.1181, allocations: 31.94 kB / 477.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.1196, allocations: 0.6112 MB / 478.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000633/0.1203, allocations: 218.8 kB / 478.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.1206, allocations: 47.88 kB / 478.4 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.1212, allocations: 458 kB / 478.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007572/0.1219, allocations: 0.526 MB / 479.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.1223, allocations: 235 kB / 479.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.1228, allocations: 302.8 kB / 479.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.1229, allocations: 40 kB / 480 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.1232, allocations: 87.83 kB / 480 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.1235, allocations: 287.2 kB / 480.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.1239, allocations: 349.8 kB / 480.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008342/0.1247, allocations: 0.8836 MB / 481.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1247, allocations: 0 / 481.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1247, allocations: 0 / 481.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.1248, allocations: 0 / 481.6 MB, free: 2.012 MB / 350.1 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.001569/0.1263, allocations: 1.005 MB / 482.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1264, allocations: 12.03 kB / 482.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005705/0.127, allocations: 131.7 kB / 482.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.1276, allocations: 449.5 kB / 483.1 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.1276, allocations: 37.36 kB / 483.2 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.1277, allocations: 48.11 kB / 483.2 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.1293, allocations: 1.241 MB / 484.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.1293, allocations: 7.938 kB / 484.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/0.1294, allocations: 19.98 kB / 484.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004408/0.1299, allocations: 248.8 kB / 484.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.1313, allocations: 0.8037 MB / 485.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004977/0.1363, allocations: 5.062 MB / 490.6 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1365, allocations: 66.61 kB / 490.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1366, allocations: 52.84 kB / 490.7 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1367, allocations: 0 / 490.7 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1367, allocations: 34.56 kB / 490.7 MB, free: 8.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.1367, allocations: 3.938 kB / 490.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.00054/0.1372, allocations: 208.8 kB / 491 MB, free: 8.172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1373, allocations: 59.34 kB / 491 MB, free: 8.102 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/0.1383, allocations: 0.8515 MB / 491.9 MB, free: 7.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1383, allocations: 25.7 kB / 491.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.1387, allocations: 0.5399 MB / 492.4 MB, free: 6.664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1387, allocations: 23.78 kB / 492.5 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.1389, allocations: 170.4 kB / 492.6 MB, free: 6.469 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1391, allocations: 378.8 kB / 493 MB, free: 6.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.1394, allocations: 185.9 kB / 493.2 MB, free: 5.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/0.1401, allocations: 0.7273 MB / 493.9 MB, free: 4.902 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.1412, allocations: 0.982 MB / 494.9 MB, free: 3.637 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.1412, allocations: 7.938 kB / 494.9 MB, free: 3.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00141/0.1426, allocations: 0.8798 MB / 495.8 MB, free: 2.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.1426, allocations: 15.94 kB / 495.8 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.1427, allocations: 20 kB / 495.8 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.706e-05/0.1427, allocations: 32.19 kB / 495.8 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.1432, allocations: 175.7 kB / 496 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.453e-05/0.1433, allocations: 40.34 kB / 496 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/0.1438, allocations: 126.8 kB / 496.2 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.1438, allocations: 44 kB / 496.2 MB, free: 2.297 MB / 366.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.arrowLine.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.0003873/0.1442, allocations: 395.7 kB / 496.6 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/0.1443, allocations: 59.25 kB / 496.7 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.549e-05/0.1444, allocations: 65.44 kB / 496.7 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1445, allocations: 0 / 496.7 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1445, allocations: 0 / 496.7 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1445, allocations: 8 kB / 496.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006163/0.1451, allocations: 0.5519 MB / 497.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1451, allocations: 0 / 497.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.1452, allocations: 11.98 kB / 497.3 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1452, allocations: 0 / 497.3 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1452, allocations: 3.984 kB / 497.3 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1452, allocations: 0 / 497.3 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1452, allocations: 4 kB / 497.3 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.1456, allocations: 274.5 kB / 497.6 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1457, allocations: 128.3 kB / 497.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.1458, allocations: 11.98 kB / 497.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.146, allocations: 4 kB / 497.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.146, allocations: 11.97 kB / 497.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1461, allocations: 0 / 497.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005935/0.1467, allocations: 0.5576 MB / 498.3 MB, free: 128 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.914e-06/0.1467, allocations: 4 kB / 498.3 MB, free: 124 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006411/0.1473, allocations: 159.5 kB / 498.4 MB, free: 15.96 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.0001173/0.1474, allocations: 91.25 kB / 498.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006405/0.1481, allocations: 416.1 kB / 498.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1481, allocations: 4 kB / 498.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1482, allocations: 51.88 kB / 499 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.1488, allocations: 111 kB / 499.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1506, allocations: 1.201 MB / 0.4886 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.1512, allocations: 1.022 MB / 0.4896 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004726/0.1517, allocations: 212.8 kB / 0.4898 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/0.1518, allocations: 39.44 kB / 0.4898 GB, free: 12.78 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1518, allocations: 3.938 kB / 0.4898 GB, free: 12.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01092/0.1627, allocations: 4.755 MB / 0.4945 GB, free: 8.055 MB / 382.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches