Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2445/0.2445, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.91 kB / 0.4909 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.122, allocations: 65.98 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008163/0.1302, allocations: 6.279 MB / 0.5615 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004108/0.1343, allocations: 1.978 MB / 0.5634 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005983/0.1349, allocations: 31.88 kB / 0.5635 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.1363, allocations: 0.6385 MB / 0.5641 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.1369, allocations: 198.9 kB / 0.5643 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1371, allocations: 59.86 kB / 0.5643 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005961/0.1377, allocations: 418.1 kB / 0.5647 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006261/0.1384, allocations: 438.8 kB / 0.5652 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.1387, allocations: 223.2 kB / 0.5654 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/0.1392, allocations: 306.8 kB / 0.5657 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.513e-05/0.1393, allocations: 40 kB / 0.5657 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.1395, allocations: 83.94 kB / 0.5658 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.1398, allocations: 267.2 kB / 0.566 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.1401, allocations: 314 kB / 0.5663 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009873/0.1411, allocations: 0.8244 MB / 0.5671 GB, free: 9.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1411, allocations: 0 / 0.5671 GB, free: 9.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1411, allocations: 0 / 0.5671 GB, free: 9.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1411, allocations: 0 / 0.5671 GB, free: 9.719 MB / 430.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.001627/0.1427, allocations: 0.961 MB / 0.5681 GB, free: 8.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1428, allocations: 12.03 kB / 0.5681 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.1429, allocations: 114.7 kB / 0.5682 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007928/0.1437, allocations: 156.3 kB / 0.5684 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/0.1443, allocations: 454 kB / 0.5688 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.1444, allocations: 33.36 kB / 0.5688 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.1444, allocations: 39.92 kB / 0.5689 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.1458, allocations: 1.085 MB / 0.5699 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1459, allocations: 7.938 kB / 0.5699 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.1459, allocations: 19.98 kB / 0.5699 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003568/0.1463, allocations: 196.3 kB / 0.5701 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.1474, allocations: 0.7084 MB / 0.5708 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/0.1517, allocations: 4.658 MB / 0.5754 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1518, allocations: 58.47 kB / 0.5754 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.152, allocations: 52.89 kB / 0.5755 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.152, allocations: 4 kB / 0.5755 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.152, allocations: 30.56 kB / 0.5755 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.152, allocations: 0 / 0.5755 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005769/0.1526, allocations: 217.1 kB / 0.5757 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1526, allocations: 55.41 kB / 0.5758 GB, free: 460 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.1537, allocations: 0.8127 MB / 0.5766 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1537, allocations: 25.7 kB / 0.5766 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.1541, allocations: 0.5218 MB / 0.5771 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1541, allocations: 31.77 kB / 0.5771 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.1543, allocations: 174.5 kB / 0.5773 GB, free: 14.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1545, allocations: 378.7 kB / 0.5777 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.1548, allocations: 181.9 kB / 0.5778 GB, free: 14.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007576/0.1556, allocations: 0.7351 MB / 0.5785 GB, free: 13.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.1568, allocations: 0.982 MB / 0.5795 GB, free: 12.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.1568, allocations: 8 kB / 0.5795 GB, free: 12.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00142/0.1582, allocations: 0.865 MB / 0.5804 GB, free: 11.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.1582, allocations: 12 kB / 0.5804 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.1582, allocations: 23.94 kB / 0.5804 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.931e-05/0.1583, allocations: 31.94 kB / 0.5804 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.1588, allocations: 179.6 kB / 0.5806 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-05/0.1588, allocations: 35.86 kB / 0.5806 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.1594, allocations: 115.2 kB / 0.5807 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.1594, allocations: 52 kB / 0.5808 GB, free: 10.7 MB / 446.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.0004108/0.1599, allocations: 369.8 kB / 0.5811 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/0.1599, allocations: 59.58 kB / 0.5812 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/0.16, allocations: 65.16 kB / 0.5813 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.16, allocations: 8 kB / 0.5813 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.16, allocations: 0 / 0.5813 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.16, allocations: 0 / 0.5813 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005973/0.1606, allocations: 0.4974 MB / 0.5818 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1606, allocations: 0 / 0.5818 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.1607, allocations: 15.98 kB / 0.5818 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1607, allocations: 0 / 0.5818 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1608, allocations: 7.938 kB / 0.5818 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1608, allocations: 4 kB / 0.5818 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1608, allocations: 0 / 0.5818 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1612, allocations: 267.2 kB / 0.582 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.1613, allocations: 140.7 kB / 0.5822 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.1613, allocations: 3.938 kB / 0.5822 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1615, allocations: 4 kB / 0.5822 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.1616, allocations: 11.97 kB / 0.5822 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1616, allocations: 4 kB / 0.5822 GB, free: 9.156 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006792/0.1623, allocations: 0.5341 MB / 0.5827 GB, free: 8.625 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1623, allocations: 0 / 0.5827 GB, free: 8.625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000659/0.1629, allocations: 139.7 kB / 0.5828 GB, free: 8.488 MB / 446.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.0007515/0.1637, allocations: 0.8019 MB / 0.5836 GB, free: 7.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00073/0.1644, allocations: 406.9 kB / 0.584 GB, free: 7.266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1644, allocations: 1.75 kB / 0.584 GB, free: 7.266 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.1645, allocations: 55.81 kB / 0.5841 GB, free: 7.211 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.1651, allocations: 91.06 kB / 0.5842 GB, free: 7.129 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007896/0.173, allocations: 6.108 MB / 0.5901 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2465/0.4195, allocations: 0.9768 MB / 0.5911 GB, free: 35.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005639/0.42, allocations: 206.3 kB / 0.5913 GB, free: 35.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.4203, allocations: 232 kB / 0.5915 GB, free: 35.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4203, allocations: 0 / 0.5915 GB, free: 35.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.4653, allocations: 11.07 MB / 0.6023 GB, free: 33.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.44/9.906, allocations: 2.562 kB / 0.6023 GB, free: 33.86 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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.00019992 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.129412107009557]