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.001882/0.001882, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002339/0.002339, allocations: 212.4 kB / 23.73 MB, free: 4.387 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 / 257.5 MB, free: 7.793 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.2354/0.2354, allocations: 44.94 MB / 358.8 MB, free: 6.047 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: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") [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.002125/0.002125, allocations: 67.91 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 65.47 MB / 0.5575 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009305/0.3514, allocations: 5.606 MB / 0.5629 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004658/0.3561, allocations: 1.881 MB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007165/0.3568, allocations: 27.88 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.3584, allocations: 0.5918 MB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.3591, allocations: 202.9 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.3594, allocations: 59.86 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007922/0.3602, allocations: 418.1 kB / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007236/0.361, allocations: 423 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.3614, allocations: 231.1 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005586/0.362, allocations: 274.9 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.3621, allocations: 36 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.3624, allocations: 87.89 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.3628, allocations: 271.1 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004664/0.3632, allocations: 234.5 kB / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.3645, allocations: 0.831 MB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3645, allocations: 0 / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3645, allocations: 4 kB / 0.5683 GB, free: 12.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.128e-05/0.3645, allocations: 0 / 0.5683 GB, free: 12.28 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.001965/0.3665, allocations: 0.8935 MB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3665, allocations: 8.031 kB / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008105/0.3673, allocations: 160.2 kB / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007852/0.3681, allocations: 392.2 kB / 0.5697 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.3682, allocations: 33.36 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.279e-05/0.3682, allocations: 48.11 kB / 0.5698 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.3698, allocations: 1.078 MB / 0.5709 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.3698, allocations: 11.88 kB / 0.5709 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.3699, allocations: 23.98 kB / 0.5709 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000371/0.3702, allocations: 188.5 kB / 0.5711 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.3716, allocations: 0.7165 MB / 0.5718 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004684/0.3763, allocations: 4.315 MB / 0.576 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3765, allocations: 58.52 kB / 0.5761 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.3766, allocations: 48.91 kB / 0.5761 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3766, allocations: 4 kB / 0.5761 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.3767, allocations: 30.56 kB / 0.5761 GB, free: 3.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.3767, allocations: 3.938 kB / 0.5761 GB, free: 3.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005515/0.3772, allocations: 205.2 kB / 0.5763 GB, free: 3.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3773, allocations: 59.34 kB / 0.5764 GB, free: 3.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.3784, allocations: 0.773 MB / 0.5771 GB, free: 2.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3784, allocations: 29.7 kB / 0.5772 GB, free: 2.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.3788, allocations: 0.5222 MB / 0.5777 GB, free: 2.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.3789, allocations: 27.89 kB / 0.5777 GB, free: 2.281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.3791, allocations: 170.5 kB / 0.5779 GB, free: 2.105 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.3793, allocations: 370.8 kB / 0.5782 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.3796, allocations: 177.9 kB / 0.5784 GB, free: 1.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/0.3805, allocations: 0.735 MB / 0.5791 GB, free: 0.543 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.3818, allocations: 0.9783 MB / 0.5801 GB, free: 15.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/0.3818, allocations: 8 kB / 0.5801 GB, free: 15.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001492/0.3833, allocations: 0.8647 MB / 0.5809 GB, free: 14.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.3833, allocations: 16 kB / 0.5809 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.3833, allocations: 20 kB / 0.581 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/0.3834, allocations: 24 kB / 0.581 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/0.3839, allocations: 179.7 kB / 0.5811 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.561e-05/0.3839, allocations: 47.73 kB / 0.5812 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.3845, allocations: 111.5 kB / 0.5813 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.3846, allocations: 52 kB / 0.5814 GB, free: 13.96 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.0004487/0.385, allocations: 355.9 kB / 0.5817 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.3851, allocations: 59.56 kB / 0.5817 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.676e-05/0.3852, allocations: 52.8 kB / 0.5818 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3852, allocations: 0 / 0.5818 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3852, allocations: 3.938 kB / 0.5818 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3852, allocations: 7.984 kB / 0.5818 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.3857, allocations: 337.1 kB / 0.5821 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3857, allocations: 4 kB / 0.5821 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.3858, allocations: 11.98 kB / 0.5821 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3858, allocations: 3.938 kB / 0.5821 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3858, allocations: 0 / 0.5821 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3858, allocations: 7.938 kB / 0.5822 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3858, allocations: 4 kB / 0.5822 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.3863, allocations: 267.2 kB / 0.5824 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.3864, allocations: 47.67 kB / 0.5825 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.3865, allocations: 3.984 kB / 0.5825 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.3867, allocations: 11.98 kB / 0.5825 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.3867, allocations: 11.92 kB / 0.5825 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3867, allocations: 7.984 kB / 0.5825 GB, free: 12.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006882/0.3874, allocations: 479 kB / 0.583 GB, free: 12.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3874, allocations: 0 / 0.583 GB, free: 12.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007914/0.3882, allocations: 147.6 kB / 0.5831 GB, free: 12.12 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.0001744/0.3884, allocations: 103.2 kB / 0.5832 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007922/0.3892, allocations: 408.3 kB / 0.5836 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3892, allocations: 0 / 0.5836 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.3893, allocations: 52.25 kB / 0.5836 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.3898, allocations: 79.62 kB / 0.5837 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.3919, allocations: 1.083 MB / 0.5848 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.3924, allocations: 389.4 kB / 0.5851 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005192/0.3929, allocations: 204.5 kB / 0.5853 GB, free: 9.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.393, allocations: 39.42 kB / 0.5854 GB, free: 9.73 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.393, allocations: 0 / 0.5854 GB, free: 9.73 MB / 430.1 MB Notification: Performance of Templates: time 0.01172/0.4047, allocations: 4.61 MB / 0.5899 GB, free: 5.207 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/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: 5.263733573257923]