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.001396/0.001396, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001482/0.001482, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2418/0.2418, allocations: 46.93 MB / 360.8 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 179] 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.002157/0.002157, allocations: 63.91 kB / 0.4967 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3915, allocations: 66.03 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009389/0.4009, allocations: 6.301 MB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004863/0.4057, allocations: 1.998 MB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008614/0.4066, allocations: 31.88 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.4082, allocations: 0.6229 MB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005689/0.4088, allocations: 202.9 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.409, allocations: 67.8 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.4096, allocations: 414.2 kB / 0.5705 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007509/0.4104, allocations: 423 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.4107, allocations: 227.1 kB / 0.5712 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.4112, allocations: 298.9 kB / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.4113, allocations: 36 kB / 0.5715 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.4115, allocations: 91.88 kB / 0.5716 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.4118, allocations: 263.2 kB / 0.5718 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.4121, allocations: 317.9 kB / 0.5721 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.4132, allocations: 0.831 MB / 0.5729 GB, free: 8.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4133, allocations: 0 / 0.5729 GB, free: 8.293 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4133, allocations: 0 / 0.5729 GB, free: 8.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.4133, allocations: 0 / 0.5729 GB, free: 8.293 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.001849/0.4151, allocations: 0.8857 MB / 0.5738 GB, free: 7.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.4152, allocations: 8.031 kB / 0.5738 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008156/0.416, allocations: 164.2 kB / 0.574 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/0.4167, allocations: 388.1 kB / 0.5743 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.4168, allocations: 37.3 kB / 0.5744 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.4168, allocations: 44.11 kB / 0.5744 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.4184, allocations: 1.074 MB / 0.5755 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.4184, allocations: 7.938 kB / 0.5755 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/0.4184, allocations: 19.98 kB / 0.5755 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003428/0.4188, allocations: 196.4 kB / 0.5757 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.4201, allocations: 0.7087 MB / 0.5764 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004674/0.4248, allocations: 4.607 MB / 0.5809 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.4249, allocations: 66.47 kB / 0.5809 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.425, allocations: 48.84 kB / 0.581 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.425, allocations: 0 / 0.581 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.4251, allocations: 34.56 kB / 0.581 GB, free: 15.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4251, allocations: 0 / 0.581 GB, free: 15.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005135/0.4256, allocations: 221.2 kB / 0.5812 GB, free: 15.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.4256, allocations: 51.41 kB / 0.5813 GB, free: 15.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.4266, allocations: 0.8242 MB / 0.5821 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.4267, allocations: 25.7 kB / 0.5821 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.4271, allocations: 0.5218 MB / 0.5826 GB, free: 13.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.4271, allocations: 31.83 kB / 0.5826 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.4273, allocations: 170.5 kB / 0.5828 GB, free: 13.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.4276, allocations: 378.8 kB / 0.5832 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.4279, allocations: 177.9 kB / 0.5833 GB, free: 13.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/0.4287, allocations: 0.7351 MB / 0.584 GB, free: 12.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.4299, allocations: 0.9742 MB / 0.585 GB, free: 10.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.4299, allocations: 8 kB / 0.585 GB, free: 10.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001395/0.4313, allocations: 0.8683 MB / 0.5859 GB, free: 10.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.4313, allocations: 16 kB / 0.5859 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.4313, allocations: 27.92 kB / 0.5859 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.781e-05/0.4314, allocations: 28.72 kB / 0.5859 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.4319, allocations: 183.7 kB / 0.5861 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-05/0.4319, allocations: 39.86 kB / 0.5861 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.4324, allocations: 119.2 kB / 0.5862 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.4325, allocations: 48 kB / 0.5863 GB, free: 9.605 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.0004493/0.4329, allocations: 363.7 kB / 0.5866 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/0.433, allocations: 67.52 kB / 0.5867 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.518e-05/0.4331, allocations: 65.36 kB / 0.5868 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4331, allocations: 7.938 kB / 0.5868 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4331, allocations: 0 / 0.5868 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.4331, allocations: 0 / 0.5868 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.4337, allocations: 484.4 kB / 0.5872 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4337, allocations: 0 / 0.5872 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.4338, allocations: 11.98 kB / 0.5872 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4338, allocations: 0 / 0.5872 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4338, allocations: 0 / 0.5872 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4338, allocations: 3.938 kB / 0.5873 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4339, allocations: 0 / 0.5873 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.4342, allocations: 275 kB / 0.5875 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.4343, allocations: 55.56 kB / 0.5876 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.4344, allocations: 3.938 kB / 0.5876 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.4346, allocations: 15.92 kB / 0.5876 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.4346, allocations: 7.984 kB / 0.5876 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.4347, allocations: 7.938 kB / 0.5876 GB, free: 8.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006973/0.4354, allocations: 0.5341 MB / 0.5881 GB, free: 7.656 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4354, allocations: 0 / 0.5881 GB, free: 7.656 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006501/0.436, allocations: 135.8 kB / 0.5883 GB, free: 7.523 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.0001432/0.4361, allocations: 95.23 kB / 0.5883 GB, free: 7.422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007054/0.4369, allocations: 403.2 kB / 0.5887 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4369, allocations: 0 / 0.5887 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.437, allocations: 49.39 kB / 0.5888 GB, free: 6.984 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.4375, allocations: 107.1 kB / 0.5889 GB, free: 6.887 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.4393, allocations: 1.087 MB / 0.5899 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.4401, allocations: 0.9909 MB / 0.5909 GB, free: 4.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000478/0.4405, allocations: 208.8 kB / 0.5911 GB, free: 4.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.4406, allocations: 43.42 kB / 0.5911 GB, free: 4.5 MB / 430.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4406, allocations: 3.938 kB / 0.5911 GB, free: 4.496 MB / 430.1 MB Notification: Performance of Templates: time 0.01183/0.4525, allocations: 5.07 MB / 0.5961 GB, free: 15.46 MB / 446.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.4418199302162975]