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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002276/0.002276, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.5 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2424/0.2424, allocations: 46.92 MB / 357 MB, free: 10.17 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 75.89 kB / 0.491 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1389, allocations: 66.05 MB / 0.5555 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008467/0.1474, allocations: 6.281 MB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004171/0.1515, allocations: 1.982 MB / 0.5635 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006823/0.1522, allocations: 27.94 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.1539, allocations: 0.6307 MB / 0.5642 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005876/0.1545, allocations: 198.9 kB / 0.5644 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1547, allocations: 63.78 kB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006586/0.1554, allocations: 414.2 kB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006953/0.1561, allocations: 430.8 kB / 0.5652 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.1565, allocations: 231.1 kB / 0.5655 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/0.1571, allocations: 306.8 kB / 0.5658 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.1572, allocations: 40 kB / 0.5658 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.1574, allocations: 79.91 kB / 0.5659 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.1577, allocations: 275.1 kB / 0.5661 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004336/0.1582, allocations: 310 kB / 0.5664 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.1595, allocations: 0.8206 MB / 0.5672 GB, free: 9.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1595, allocations: 0 / 0.5672 GB, free: 9.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1595, allocations: 4 kB / 0.5672 GB, free: 9.406 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.091e-05/0.1595, allocations: 0 / 0.5672 GB, free: 9.406 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.002372/0.1619, allocations: 0.9649 MB / 0.5682 GB, free: 8.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1619, allocations: 8.031 kB / 0.5682 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/0.1622, allocations: 110.7 kB / 0.5683 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009472/0.1631, allocations: 156.2 kB / 0.5684 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008152/0.1639, allocations: 461.9 kB / 0.5689 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.164, allocations: 33.36 kB / 0.5689 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.1641, allocations: 43.92 kB / 0.569 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.1657, allocations: 1.085 MB / 0.57 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.1657, allocations: 0 / 0.57 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.1657, allocations: 19.98 kB / 0.57 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003617/0.1661, allocations: 200.3 kB / 0.5702 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.1673, allocations: 0.7161 MB / 0.5709 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004533/0.1719, allocations: 4.65 MB / 0.5755 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.172, allocations: 54.53 kB / 0.5755 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1722, allocations: 52.91 kB / 0.5756 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1722, allocations: 0 / 0.5756 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1722, allocations: 30.56 kB / 0.5756 GB, free: 440 kB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1722, allocations: 0 / 0.5756 GB, free: 440 kB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005572/0.1728, allocations: 221 kB / 0.5758 GB, free: 212 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1728, allocations: 59.41 kB / 0.5759 GB, free: 140 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.1739, allocations: 0.8166 MB / 0.5767 GB, free: 15.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1739, allocations: 25.7 kB / 0.5767 GB, free: 15.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.1743, allocations: 0.5217 MB / 0.5772 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.1744, allocations: 23.83 kB / 0.5772 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.1746, allocations: 174.5 kB / 0.5774 GB, free: 14.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.1748, allocations: 378.8 kB / 0.5777 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.1751, allocations: 177.9 kB / 0.5779 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007465/0.1759, allocations: 0.7312 MB / 0.5786 GB, free: 12.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.1771, allocations: 0.9859 MB / 0.5796 GB, free: 11.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-05/0.1771, allocations: 8 kB / 0.5796 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0015/0.1786, allocations: 0.8724 MB / 0.5805 GB, free: 10.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.1786, allocations: 12 kB / 0.5805 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/0.1787, allocations: 27.98 kB / 0.5805 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.099e-05/0.1787, allocations: 27.94 kB / 0.5805 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.1792, allocations: 171.7 kB / 0.5807 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.894e-05/0.1793, allocations: 44.3 kB / 0.5807 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.1798, allocations: 119.2 kB / 0.5808 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.1799, allocations: 52 kB / 0.5809 GB, free: 10.38 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.0004681/0.1804, allocations: 363.6 kB / 0.5812 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1805, allocations: 63.58 kB / 0.5813 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.1806, allocations: 65.2 kB / 0.5814 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1806, allocations: 0 / 0.5814 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1806, allocations: 0 / 0.5814 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1806, allocations: 4 kB / 0.5814 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007358/0.1813, allocations: 0.4896 MB / 0.5818 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1813, allocations: 0 / 0.5818 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-05/0.1814, allocations: 11.98 kB / 0.5819 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1814, allocations: 0 / 0.5819 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1814, allocations: 7.938 kB / 0.5819 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1814, allocations: 7.922 kB / 0.5819 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1814, allocations: 0 / 0.5819 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.1818, allocations: 271 kB / 0.5821 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.182, allocations: 136.7 kB / 0.5823 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.1821, allocations: 3.938 kB / 0.5823 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.1823, allocations: 11.98 kB / 0.5823 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.1823, allocations: 7.984 kB / 0.5823 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1823, allocations: 0 / 0.5823 GB, free: 8.852 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007139/0.1831, allocations: 0.5302 MB / 0.5828 GB, free: 8.324 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1831, allocations: 4 kB / 0.5828 GB, free: 8.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006924/0.1838, allocations: 139.7 kB / 0.5829 GB, free: 8.184 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.0007785/0.1845, allocations: 0.8096 MB / 0.5837 GB, free: 7.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000787/0.1853, allocations: 404 kB / 0.5841 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1853, allocations: 0.6875 kB / 0.5841 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1854, allocations: 47.95 kB / 0.5842 GB, free: 6.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.186, allocations: 92.89 kB / 0.5842 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009011/0.195, allocations: 6.116 MB / 0.5902 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2591/0.4541, allocations: 0.9785 MB / 0.5912 GB, free: 35.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005429/0.4546, allocations: 203.3 kB / 0.5914 GB, free: 35.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.4549, allocations: 231.8 kB / 0.5916 GB, free: 35.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.372e-06/0.4549, allocations: 3.906 kB / 0.5916 GB, free: 35.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.4947, allocations: 11.07 MB / 0.6024 GB, free: 33.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.277/9.771, allocations: 8.125 kB / 0.6024 GB, free: 33.71 MB / 446.1 MB " [Timeout remaining time 650] (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.00019992 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 12.976945903035812]