Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 207.2 kB / 25.12 MB, free: 3.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.4 MB / 258.7 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2459/0.2459, allocations: 46.93 MB / 362 MB, free: 4.223 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 79.86 kB / 0.4978 GB, free: 7.855 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3272, allocations: 66.07 MB / 0.5623 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005578/0.3328, allocations: 6.245 MB / 0.5684 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.3363, allocations: 1.995 MB / 0.5704 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/0.337, allocations: 31.56 kB / 0.5704 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.3382, allocations: 0.6157 MB / 0.571 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.3386, allocations: 207.8 kB / 0.5712 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.3389, allocations: 60.36 kB / 0.5713 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.3393, allocations: 420.1 kB / 0.5717 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.3397, allocations: 420.9 kB / 0.5721 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.3399, allocations: 225.3 kB / 0.5723 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.3403, allocations: 294.1 kB / 0.5726 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.3403, allocations: 37.75 kB / 0.5726 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.3405, allocations: 93.03 kB / 0.5727 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.3407, allocations: 264.4 kB / 0.5729 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.341, allocations: 321.6 kB / 0.5732 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009618/0.342, allocations: 0.8235 MB / 0.5741 GB, free: 26.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.342, allocations: 1.75 kB / 0.5741 GB, free: 26.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.342, allocations: 1.375 kB / 0.5741 GB, free: 26.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.342, allocations: 0 / 0.5741 GB, free: 26.35 MB / 446.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.001405/0.3434, allocations: 0.8985 MB / 0.5749 GB, free: 25.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.3435, allocations: 9.75 kB / 0.5749 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007401/0.3442, allocations: 158 kB / 0.5751 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.3449, allocations: 391.4 kB / 0.5755 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.3449, allocations: 30.31 kB / 0.5755 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/0.345, allocations: 45.92 kB / 0.5755 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.3464, allocations: 1.082 MB / 0.5766 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.3465, allocations: 10.09 kB / 0.5766 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.3465, allocations: 26.78 kB / 0.5766 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003542/0.3469, allocations: 184.1 kB / 0.5768 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.3481, allocations: 0.7143 MB / 0.5775 GB, free: 24.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.3514, allocations: 4.598 MB / 0.582 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.3515, allocations: 58.59 kB / 0.5821 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3517, allocations: 52.03 kB / 0.5821 GB, free: 20.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3517, allocations: 2.094 kB / 0.5821 GB, free: 20.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3517, allocations: 34.56 kB / 0.5821 GB, free: 20.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.3517, allocations: 0 / 0.5821 GB, free: 20.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004722/0.3522, allocations: 217.6 kB / 0.5823 GB, free: 20.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.3522, allocations: 57.2 kB / 0.5824 GB, free: 20.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/0.3531, allocations: 0.8184 MB / 0.5832 GB, free: 20.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.3531, allocations: 26.55 kB / 0.5832 GB, free: 20.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.3534, allocations: 0.5208 MB / 0.5837 GB, free: 19.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.3534, allocations: 31.22 kB / 0.5838 GB, free: 19.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.3536, allocations: 172.8 kB / 0.5839 GB, free: 19.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3537, allocations: 376.9 kB / 0.5843 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.354, allocations: 177.2 kB / 0.5845 GB, free: 19.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.3545, allocations: 0.7417 MB / 0.5852 GB, free: 18.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.3553, allocations: 0.9732 MB / 0.5861 GB, free: 17.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.3553, allocations: 4.906 kB / 0.5861 GB, free: 17.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001272/0.3565, allocations: 0.8744 MB / 0.587 GB, free: 16.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.3566, allocations: 14.19 kB / 0.587 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.3566, allocations: 19.75 kB / 0.587 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.01e-05/0.3566, allocations: 30.25 kB / 0.587 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.3571, allocations: 173.5 kB / 0.5872 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.109e-05/0.3572, allocations: 42.98 kB / 0.5873 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.3578, allocations: 121.2 kB / 0.5874 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.3578, allocations: 56.61 kB / 0.5874 GB, free: 16.85 MB / 446.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.0004367/0.3583, allocations: 355.4 kB / 0.5878 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.3584, allocations: 61.89 kB / 0.5878 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.817e-05/0.3584, allocations: 63.33 kB / 0.5879 GB, free: 16.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3584, allocations: 6.047 kB / 0.5879 GB, free: 16.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3585, allocations: 0 / 0.5879 GB, free: 16.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3585, allocations: 0 / 0.5879 GB, free: 16.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.3591, allocations: 483.7 kB / 0.5883 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3591, allocations: 0 / 0.5883 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3592, allocations: 11.7 kB / 0.5884 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3592, allocations: 1.531 kB / 0.5884 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3592, allocations: 0.7969 kB / 0.5884 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3592, allocations: 9.156 kB / 0.5884 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3592, allocations: 0.6562 kB / 0.5884 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.3596, allocations: 277 kB / 0.5886 GB, free: 16.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.3597, allocations: 57.47 kB / 0.5887 GB, free: 16.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.3597, allocations: 1.656 kB / 0.5887 GB, free: 16.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3599, allocations: 15.69 kB / 0.5887 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.36, allocations: 8.172 kB / 0.5887 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.36, allocations: 1.953 kB / 0.5887 GB, free: 16.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006396/0.3606, allocations: 0.5319 MB / 0.5892 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3606, allocations: 0 / 0.5892 GB, free: 15.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007196/0.3614, allocations: 143 kB / 0.5894 GB, free: 15.8 MB / 446.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.0001181/0.3615, allocations: 96.98 kB / 0.5895 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006843/0.3622, allocations: 409.9 kB / 0.5899 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3622, allocations: 0 / 0.5899 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3623, allocations: 47.45 kB / 0.5899 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.3628, allocations: 94.33 kB / 0.59 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.3645, allocations: 1.103 MB / 0.5911 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.365, allocations: 0.9887 MB / 0.592 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004844/0.3655, allocations: 203.9 kB / 0.5922 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.3656, allocations: 37.75 kB / 0.5923 GB, free: 14.18 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3656, allocations: 4 kB / 0.5923 GB, free: 14.18 MB / 446.1 MB Notification: Performance of Templates: time 0.01187/0.3774, allocations: 5.08 MB / 0.5972 GB, free: 13.48 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.09559505386278]