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.001776/0.001776, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002047/0.002047, allocations: 209.2 kB / 24.48 MB, free: 3.836 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.552/1.552, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2371/0.2371, allocations: 44.94 MB / 359.6 MB, free: 6.086 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.002174/0.002174, allocations: 71.88 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3621, allocations: 65.47 MB / 0.5582 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00859/0.3707, allocations: 5.605 MB / 0.5637 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004838/0.3756, allocations: 1.885 MB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007057/0.3763, allocations: 27.94 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.3778, allocations: 0.5917 MB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005639/0.3784, allocations: 202.9 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.3786, allocations: 59.86 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005699/0.3792, allocations: 418.1 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006465/0.3799, allocations: 419 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.3803, allocations: 223.2 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.3808, allocations: 286.8 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.3809, allocations: 40 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.3811, allocations: 83.94 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.3814, allocations: 271.2 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.3816, allocations: 234.5 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.3827, allocations: 0.828 MB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3827, allocations: 4 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3827, allocations: 0 / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3827, allocations: 3.938 kB / 0.5691 GB, free: 12.32 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.001583/0.3843, allocations: 0.8897 MB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3843, allocations: 15.97 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008344/0.3852, allocations: 156.2 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007229/0.3859, allocations: 384.2 kB / 0.5705 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.3859, allocations: 33.3 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.386, allocations: 52.11 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.3875, allocations: 1.085 MB / 0.5716 GB, free: 9.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3875, allocations: 3.938 kB / 0.5716 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/0.3876, allocations: 23.98 kB / 0.5716 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003483/0.388, allocations: 196.4 kB / 0.5718 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.3892, allocations: 0.7048 MB / 0.5725 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004481/0.3936, allocations: 4.319 MB / 0.5767 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3938, allocations: 58.53 kB / 0.5768 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3939, allocations: 48.84 kB / 0.5768 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.394, allocations: 0 / 0.5768 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.394, allocations: 30.56 kB / 0.5769 GB, free: 3.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.394, allocations: 0 / 0.5769 GB, free: 3.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005323/0.3945, allocations: 213.2 kB / 0.5771 GB, free: 3.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.3946, allocations: 55.34 kB / 0.5771 GB, free: 3.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/0.3955, allocations: 0.773 MB / 0.5779 GB, free: 2.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.3955, allocations: 25.7 kB / 0.5779 GB, free: 2.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.396, allocations: 0.5261 MB / 0.5784 GB, free: 2.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.396, allocations: 27.88 kB / 0.5784 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.3963, allocations: 166.5 kB / 0.5786 GB, free: 2.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.3965, allocations: 374.8 kB / 0.579 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.3968, allocations: 185.8 kB / 0.5791 GB, free: 1.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007982/0.3976, allocations: 0.7351 MB / 0.5799 GB, free: 0.582 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.3988, allocations: 0.9703 MB / 0.5808 GB, free: 15.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.3988, allocations: 8 kB / 0.5808 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001493/0.4003, allocations: 0.8611 MB / 0.5816 GB, free: 14.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.4003, allocations: 19.98 kB / 0.5817 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.4003, allocations: 24.16 kB / 0.5817 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-05/0.4004, allocations: 24 kB / 0.5817 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.4009, allocations: 183.6 kB / 0.5819 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-05/0.4009, allocations: 43.8 kB / 0.5819 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.4015, allocations: 115.2 kB / 0.582 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.4015, allocations: 48 kB / 0.5821 GB, free: 14 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.0004552/0.402, allocations: 355.9 kB / 0.5824 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/0.4021, allocations: 59.62 kB / 0.5825 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.828e-05/0.4021, allocations: 56.78 kB / 0.5825 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4022, allocations: 4 kB / 0.5825 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4022, allocations: 7.875 kB / 0.5825 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4022, allocations: 192 / 0.5825 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.4026, allocations: 337.1 kB / 0.5829 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4026, allocations: 0 / 0.5829 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/0.4027, allocations: 15.97 kB / 0.5829 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4027, allocations: 4 kB / 0.5829 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4027, allocations: 0 / 0.5829 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4027, allocations: 7.938 kB / 0.5829 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4027, allocations: 0 / 0.5829 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.4032, allocations: 271 kB / 0.5832 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/0.4033, allocations: 47.61 kB / 0.5832 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.4033, allocations: 0 / 0.5832 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.4035, allocations: 8 kB / 0.5832 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.4036, allocations: 19.91 kB / 0.5832 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.4036, allocations: 0 / 0.5832 GB, free: 12.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000598/0.4042, allocations: 483 kB / 0.5837 GB, free: 12.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4042, allocations: 7.938 kB / 0.5837 GB, free: 12.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000664/0.4049, allocations: 151.6 kB / 0.5838 GB, free: 12.15 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.0001912/0.4051, allocations: 91.25 kB / 0.5839 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007475/0.4058, allocations: 404.1 kB / 0.5843 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4058, allocations: 0 / 0.5843 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.4059, allocations: 47.94 kB / 0.5844 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.4064, allocations: 81.75 kB / 0.5844 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.4083, allocations: 1.16 MB / 0.5856 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.4088, allocations: 393.5 kB / 0.5859 GB, free: 9.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.4089, allocations: 47.42 kB / 0.586 GB, free: 9.883 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4089, allocations: 0 / 0.586 GB, free: 9.883 MB / 430.1 MB Notification: Performance of Templates: time 0.01306/0.422, allocations: 7.457 MB / 0.5933 GB, free: 2.441 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/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: 8.449986609164625]