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.001516/0.001516, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001624/0.001624, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2205/0.2205, allocations: 44.9 MB / 358.8 MB, free: 6.312 MB / 286.1 MB " [Timeout remaining time 179] 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.001995/0.001995, allocations: 71.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3444, allocations: 65.47 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008562/0.353, allocations: 6.303 MB / 0.5632 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00415/0.3571, allocations: 2.002 MB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005937/0.3577, allocations: 23.94 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.3592, allocations: 0.6268 MB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000504/0.3597, allocations: 202.9 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.3599, allocations: 67.78 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.3605, allocations: 410.2 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006337/0.3611, allocations: 427 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.3615, allocations: 231 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.3619, allocations: 298.9 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.741e-05/0.362, allocations: 36 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.3622, allocations: 87.89 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.3625, allocations: 275.1 kB / 0.5677 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.3628, allocations: 306.1 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009922/0.3638, allocations: 0.8322 MB / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3638, allocations: 0 / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3638, allocations: 0 / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.3638, allocations: 0 / 0.5688 GB, free: 11.63 MB / 414.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.001591/0.3654, allocations: 0.8896 MB / 0.5697 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3655, allocations: 8.031 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.3656, allocations: 110.7 kB / 0.5698 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007983/0.3664, allocations: 160.2 kB / 0.57 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/0.3671, allocations: 392.1 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.3671, allocations: 37.36 kB / 0.5704 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.3672, allocations: 39.92 kB / 0.5704 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.3687, allocations: 1.078 MB / 0.5715 GB, free: 8.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.3688, allocations: 7.938 kB / 0.5715 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.3688, allocations: 23.92 kB / 0.5715 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003659/0.3692, allocations: 196.4 kB / 0.5717 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.3704, allocations: 0.7126 MB / 0.5724 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004681/0.3751, allocations: 4.611 MB / 0.5769 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3753, allocations: 50.53 kB / 0.5769 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.3754, allocations: 52.91 kB / 0.577 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3754, allocations: 0 / 0.577 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3754, allocations: 30.56 kB / 0.577 GB, free: 2.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.3754, allocations: 0 / 0.577 GB, free: 2.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005386/0.376, allocations: 225 kB / 0.5772 GB, free: 2.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.376, allocations: 55.41 kB / 0.5773 GB, free: 2.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.377, allocations: 0.8244 MB / 0.5781 GB, free: 1.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.377, allocations: 25.7 kB / 0.5781 GB, free: 1.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.3775, allocations: 0.5218 MB / 0.5786 GB, free: 1.184 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.3775, allocations: 23.89 kB / 0.5786 GB, free: 1.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.3777, allocations: 170.5 kB / 0.5788 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.3779, allocations: 378.8 kB / 0.5792 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.3782, allocations: 181.9 kB / 0.5793 GB, free: 440 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008187/0.3791, allocations: 0.7312 MB / 0.58 GB, free: 15.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.3803, allocations: 0.982 MB / 0.581 GB, free: 14.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.3803, allocations: 4 kB / 0.581 GB, free: 14.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001493/0.3818, allocations: 0.8686 MB / 0.5819 GB, free: 13.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.3818, allocations: 16 kB / 0.5819 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.3819, allocations: 23.98 kB / 0.5819 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-05/0.3819, allocations: 27.94 kB / 0.5819 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/0.3824, allocations: 179.7 kB / 0.5821 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.845e-05/0.3825, allocations: 39.86 kB / 0.5821 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/0.383, allocations: 123.6 kB / 0.5823 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.3831, allocations: 51.98 kB / 0.5823 GB, free: 12.82 MB / 430.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.000429/0.3835, allocations: 356 kB / 0.5826 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.3836, allocations: 63.58 kB / 0.5827 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-05/0.3837, allocations: 73.23 kB / 0.5828 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3837, allocations: 0 / 0.5828 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3837, allocations: 3.984 kB / 0.5828 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3837, allocations: 0 / 0.5828 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.3844, allocations: 492.4 kB / 0.5832 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3844, allocations: 0 / 0.5832 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.3844, allocations: 11.98 kB / 0.5833 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3844, allocations: 0 / 0.5833 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3845, allocations: 7.875 kB / 0.5833 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3845, allocations: 0 / 0.5833 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3845, allocations: 0 / 0.5833 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.3848, allocations: 275 kB / 0.5835 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.385, allocations: 59.56 kB / 0.5836 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.385, allocations: 3.938 kB / 0.5836 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3852, allocations: 7.984 kB / 0.5836 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3853, allocations: 11.98 kB / 0.5836 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3853, allocations: 0 / 0.5836 GB, free: 11.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006849/0.386, allocations: 0.5302 MB / 0.5841 GB, free: 10.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.386, allocations: 0 / 0.5841 GB, free: 10.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006862/0.3866, allocations: 139.8 kB / 0.5843 GB, free: 10.74 MB / 430.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.0007105/0.3874, allocations: 0.7979 MB / 0.585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007285/0.3881, allocations: 408.1 kB / 0.5854 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3881, allocations: 4 kB / 0.5854 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.3882, allocations: 52.44 kB / 0.5855 GB, free: 9.469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.3887, allocations: 92.31 kB / 0.5856 GB, free: 9.387 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/0.3966, allocations: 6.118 MB / 0.5915 GB, free: 2.621 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/0.3973, allocations: 0.9911 MB / 0.5925 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004796/0.3978, allocations: 200.8 kB / 0.5927 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.3981, allocations: 231.3 kB / 0.5929 GB, free: 1.176 MB / 430.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3981, allocations: 4 kB / 0.5929 GB, free: 1.172 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0427/0.4408, allocations: 11.7 MB / 0.6044 GB, free: 5.641 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.27, allocations: 9.578 kB / 0.6044 GB, free: 5.641 MB / 446.1 MB " [Timeout remaining time 647] (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: 16.501501452999946]