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.00203/0.00203, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.0024/0.0024, allocations: 216.3 kB / 23.73 MB, free: 4.164 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.622/1.622, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.233/0.233, allocations: 46.94 MB / 360.8 MB, free: 4.156 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: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 67.91 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3022, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007836/0.31, allocations: 5.612 MB / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003714/0.3137, allocations: 1.869 MB / 0.5684 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004196/0.3142, allocations: 27.94 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.3156, allocations: 0.5956 MB / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.3161, allocations: 210.8 kB / 0.5692 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.3163, allocations: 63.88 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.3168, allocations: 414.2 kB / 0.5697 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006335/0.3175, allocations: 415 kB / 0.5701 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.3178, allocations: 227 kB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/0.3183, allocations: 282.9 kB / 0.5705 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.151e-05/0.3183, allocations: 36 kB / 0.5706 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.3185, allocations: 91.89 kB / 0.5707 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.3188, allocations: 271.1 kB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.3191, allocations: 242.4 kB / 0.5712 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009487/0.3201, allocations: 0.8271 MB / 0.572 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3201, allocations: 4 kB / 0.572 GB, free: 8.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3201, allocations: 0 / 0.572 GB, free: 8.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.3201, allocations: 0 / 0.572 GB, free: 8.977 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.001571/0.3217, allocations: 0.8839 MB / 0.5728 GB, free: 8.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3217, allocations: 12.03 kB / 0.5728 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008375/0.3225, allocations: 160.2 kB / 0.573 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007489/0.3233, allocations: 396.1 kB / 0.5734 GB, free: 7.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.3233, allocations: 29.36 kB / 0.5734 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.3234, allocations: 48.05 kB / 0.5734 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.325, allocations: 1.082 MB / 0.5745 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.325, allocations: 7.938 kB / 0.5745 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.325, allocations: 19.98 kB / 0.5745 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003739/0.3254, allocations: 192.5 kB / 0.5747 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.3266, allocations: 0.7126 MB / 0.5754 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/0.331, allocations: 4.315 MB / 0.5796 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.3312, allocations: 58.53 kB / 0.5797 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3313, allocations: 40.91 kB / 0.5797 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.3313, allocations: 3.984 kB / 0.5797 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.3314, allocations: 38.55 kB / 0.5798 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.3314, allocations: 0 / 0.5798 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005433/0.3319, allocations: 213.1 kB / 0.58 GB, free: 444 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.332, allocations: 55.34 kB / 0.58 GB, free: 376 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009677/0.3329, allocations: 0.7769 MB / 0.5808 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.333, allocations: 25.7 kB / 0.5808 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000453/0.3334, allocations: 0.53 MB / 0.5813 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.3334, allocations: 23.89 kB / 0.5813 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.3336, allocations: 166.5 kB / 0.5815 GB, free: 14.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.3338, allocations: 370.8 kB / 0.5818 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.3342, allocations: 181.9 kB / 0.582 GB, free: 14.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.335, allocations: 0.739 MB / 0.5827 GB, free: 13.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.3363, allocations: 0.9742 MB / 0.5837 GB, free: 11.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.3363, allocations: 4 kB / 0.5837 GB, free: 11.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001517/0.3378, allocations: 0.8681 MB / 0.5845 GB, free: 11.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.3379, allocations: 12 kB / 0.5846 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.3379, allocations: 20.88 kB / 0.5846 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.684e-05/0.3379, allocations: 28 kB / 0.5846 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.3385, allocations: 179.7 kB / 0.5848 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.241e-05/0.3385, allocations: 47.78 kB / 0.5848 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.339, allocations: 107.2 kB / 0.5849 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/0.3391, allocations: 48 kB / 0.585 GB, free: 10.67 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.0004436/0.3396, allocations: 363.8 kB / 0.5853 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.3397, allocations: 51.62 kB / 0.5854 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.072e-05/0.3397, allocations: 56.8 kB / 0.5854 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3397, allocations: 4 kB / 0.5854 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3398, allocations: 3.938 kB / 0.5854 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3398, allocations: 0 / 0.5854 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.3402, allocations: 341.1 kB / 0.5858 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3402, allocations: 7.938 kB / 0.5858 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/0.3403, allocations: 11.98 kB / 0.5858 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3403, allocations: 0 / 0.5858 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3403, allocations: 0 / 0.5858 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3403, allocations: 3.984 kB / 0.5858 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3403, allocations: 4 kB / 0.5858 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.3407, allocations: 275 kB / 0.586 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3408, allocations: 51.55 kB / 0.5861 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.3409, allocations: 0 / 0.5861 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3411, allocations: 7.984 kB / 0.5861 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.3411, allocations: 16.16 kB / 0.5861 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.3411, allocations: 0 / 0.5861 GB, free: 9.434 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005935/0.3417, allocations: 483 kB / 0.5866 GB, free: 8.969 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3417, allocations: 0 / 0.5866 GB, free: 8.969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006718/0.3424, allocations: 147.6 kB / 0.5867 GB, free: 8.824 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.0001361/0.3425, allocations: 99.23 kB / 0.5868 GB, free: 8.715 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007098/0.3433, allocations: 412.6 kB / 0.5872 GB, free: 8.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3433, allocations: 0 / 0.5872 GB, free: 8.316 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3434, allocations: 47.89 kB / 0.5872 GB, free: 8.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.3439, allocations: 80.02 kB / 0.5873 GB, free: 8.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.3457, allocations: 1.087 MB / 0.5884 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.3462, allocations: 393.3 kB / 0.5888 GB, free: 6.672 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000453/0.3467, allocations: 200.6 kB / 0.589 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.3467, allocations: 35.44 kB / 0.589 GB, free: 6.441 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3467, allocations: 0 / 0.589 GB, free: 6.441 MB / 430.1 MB Notification: Performance of Templates: time 0.01117/0.3579, allocations: 4.609 MB / 0.5935 GB, free: 1.93 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/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: 5.33397295512259]