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.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.001259/0.001259, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001404/0.001404, allocations: 203.3 kB / 20.74 MB, free: 2.34 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.501/1.501, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2239/0.2239, allocations: 44.91 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.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_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 71.89 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1353, allocations: 65.42 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008405/0.1437, allocations: 6.282 MB / 0.5579 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.1482, allocations: 1.978 MB / 0.5598 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008516/0.1491, allocations: 31.88 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.1507, allocations: 0.6307 MB / 0.5605 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000618/0.1513, allocations: 206.9 kB / 0.5607 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1515, allocations: 51.86 kB / 0.5607 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005674/0.1521, allocations: 426 kB / 0.5611 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006252/0.1527, allocations: 438.8 kB / 0.5616 GB, free: 68 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.1531, allocations: 223.2 kB / 0.5618 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.1535, allocations: 302.8 kB / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.739e-05/0.1536, allocations: 40 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.1538, allocations: 83.89 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.1541, allocations: 271.1 kB / 0.5624 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.1544, allocations: 314 kB / 0.5627 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009685/0.1553, allocations: 0.8206 MB / 0.5635 GB, free: 14.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1553, allocations: 4 kB / 0.5635 GB, free: 14.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1554, allocations: 0 / 0.5635 GB, free: 14.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1554, allocations: 0 / 0.5635 GB, free: 14.03 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.001629/0.157, allocations: 0.961 MB / 0.5645 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.157, allocations: 16.02 kB / 0.5645 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.1572, allocations: 106.7 kB / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008008/0.158, allocations: 164.2 kB / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006527/0.1586, allocations: 446 kB / 0.5652 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.1587, allocations: 33.36 kB / 0.5652 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.1587, allocations: 39.92 kB / 0.5652 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.1602, allocations: 1.089 MB / 0.5663 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1603, allocations: 3.938 kB / 0.5663 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.1603, allocations: 19.98 kB / 0.5663 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000369/0.1607, allocations: 196.4 kB / 0.5665 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.1619, allocations: 0.7138 MB / 0.5672 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/0.1662, allocations: 4.65 MB / 0.5718 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1664, allocations: 62.52 kB / 0.5718 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1665, allocations: 44.91 kB / 0.5719 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.1666, allocations: 4 kB / 0.5719 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1666, allocations: 34.5 kB / 0.5719 GB, free: 5.051 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.1666, allocations: 0 / 0.5719 GB, free: 5.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005587/0.1671, allocations: 221 kB / 0.5721 GB, free: 4.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.1672, allocations: 59.41 kB / 0.5722 GB, free: 4.758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00099/0.1682, allocations: 0.8127 MB / 0.573 GB, free: 3.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1682, allocations: 25.7 kB / 0.573 GB, free: 3.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.1686, allocations: 0.5218 MB / 0.5735 GB, free: 3.375 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1686, allocations: 27.88 kB / 0.5735 GB, free: 3.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.1688, allocations: 170.5 kB / 0.5737 GB, free: 3.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.169, allocations: 378.8 kB / 0.574 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.1694, allocations: 177.9 kB / 0.5742 GB, free: 2.621 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007841/0.1701, allocations: 0.735 MB / 0.5749 GB, free: 1.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.1713, allocations: 0.9821 MB / 0.5759 GB, free: 348 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.1713, allocations: 4 kB / 0.5759 GB, free: 344 kB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001423/0.1728, allocations: 0.8722 MB / 0.5767 GB, free: 15.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.1728, allocations: 12 kB / 0.5768 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.1728, allocations: 20.84 kB / 0.5768 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.544e-05/0.1728, allocations: 31.94 kB / 0.5768 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/0.1734, allocations: 179.6 kB / 0.577 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.658e-05/0.1734, allocations: 39.86 kB / 0.577 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.1739, allocations: 127.1 kB / 0.5771 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.174, allocations: 52 kB / 0.5772 GB, free: 15 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.0004214/0.1744, allocations: 365.9 kB / 0.5775 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.1745, allocations: 59.58 kB / 0.5776 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.657e-05/0.1746, allocations: 65.22 kB / 0.5777 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1746, allocations: 4 kB / 0.5777 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1746, allocations: 0 / 0.5777 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1746, allocations: 0 / 0.5777 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.1752, allocations: 0.4935 MB / 0.5781 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1752, allocations: 0 / 0.5781 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-05/0.1753, allocations: 15.92 kB / 0.5782 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1753, allocations: 0 / 0.5782 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1753, allocations: 3.938 kB / 0.5782 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1753, allocations: 0 / 0.5782 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1753, allocations: 4 kB / 0.5782 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.1757, allocations: 275 kB / 0.5784 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.1759, allocations: 136.7 kB / 0.5786 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.1759, allocations: 3.938 kB / 0.5786 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.1761, allocations: 7.984 kB / 0.5786 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.1762, allocations: 7.984 kB / 0.5786 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.1762, allocations: 8 kB / 0.5786 GB, free: 13.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006599/0.1768, allocations: 0.5302 MB / 0.5791 GB, free: 12.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1768, allocations: 0 / 0.5791 GB, free: 12.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006874/0.1775, allocations: 139.7 kB / 0.5792 GB, free: 12.8 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.0007795/0.1783, allocations: 0.8018 MB / 0.58 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007529/0.1791, allocations: 412.6 kB / 0.5804 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1791, allocations: 0 / 0.5804 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1792, allocations: 51.88 kB / 0.5805 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.1798, allocations: 84.83 kB / 0.5805 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008366/0.1882, allocations: 6.112 MB / 0.5865 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.1889, allocations: 0.9911 MB / 0.5875 GB, free: 3.664 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005161/0.1894, allocations: 208.7 kB / 0.5877 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.1897, allocations: 227.4 kB / 0.5879 GB, free: 3.234 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1897, allocations: 0 / 0.5879 GB, free: 3.234 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.313/0.5028, allocations: 11.06 MB / 0.5987 GB, free: 38.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.634/10.14, allocations: 10.97 kB / 0.5987 GB, free: 38.25 MB / 446.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.269535818137228]