Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001589/0.001589, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.94 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 79.88 kB / 0.4967 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.346, allocations: 66.08 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007859/0.3539, allocations: 5.601 MB / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00425/0.3581, allocations: 1.881 MB / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004866/0.3586, allocations: 27.94 kB / 0.5685 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.36, allocations: 0.5917 MB / 0.5691 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.3605, allocations: 213.7 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.3608, allocations: 59.88 kB / 0.5694 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000511/0.3613, allocations: 414.1 kB / 0.5698 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005822/0.3619, allocations: 427 kB / 0.5702 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003429/0.3622, allocations: 227 kB / 0.5704 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004346/0.3626, allocations: 278.9 kB / 0.5706 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.832e-05/0.3627, allocations: 36 kB / 0.5707 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.3629, allocations: 91.88 kB / 0.5708 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.3632, allocations: 267.2 kB / 0.571 GB, free: 9.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.3635, allocations: 242.5 kB / 0.5712 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009519/0.3644, allocations: 0.828 MB / 0.5721 GB, free: 8.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3644, allocations: 4 kB / 0.5721 GB, free: 8.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3644, allocations: 4 kB / 0.5721 GB, free: 8.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3645, allocations: 0 / 0.5721 GB, free: 8.77 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.001534/0.366, allocations: 0.8896 MB / 0.5729 GB, free: 7.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.366, allocations: 8.031 kB / 0.5729 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008023/0.3668, allocations: 160.3 kB / 0.5731 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.3676, allocations: 392.1 kB / 0.5735 GB, free: 7.273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.3676, allocations: 37.34 kB / 0.5735 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/0.3677, allocations: 40.11 kB / 0.5735 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.3692, allocations: 1.078 MB / 0.5746 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.3692, allocations: 7.938 kB / 0.5746 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.3693, allocations: 19.98 kB / 0.5746 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003637/0.3696, allocations: 200.4 kB / 0.5748 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.3708, allocations: 0.7087 MB / 0.5755 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.3751, allocations: 4.311 MB / 0.5797 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.3752, allocations: 58.53 kB / 0.5798 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.3754, allocations: 48.89 kB / 0.5798 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3754, allocations: 0 / 0.5798 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.3754, allocations: 34.56 kB / 0.5799 GB, free: 452 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.3754, allocations: 0 / 0.5799 GB, free: 452 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.000583/0.376, allocations: 213.1 kB / 0.5801 GB, free: 232 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.3761, allocations: 55.34 kB / 0.5801 GB, free: 164 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.3771, allocations: 0.7808 MB / 0.5809 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3771, allocations: 29.64 kB / 0.5809 GB, free: 15.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/0.3776, allocations: 0.5184 MB / 0.5814 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.3777, allocations: 27.88 kB / 0.5814 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.378, allocations: 166.5 kB / 0.5816 GB, free: 14.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.3782, allocations: 374.7 kB / 0.5819 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.3785, allocations: 181.8 kB / 0.5821 GB, free: 14.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008878/0.3794, allocations: 0.7351 MB / 0.5828 GB, free: 13.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.3807, allocations: 0.9781 MB / 0.5838 GB, free: 11.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.3807, allocations: 4 kB / 0.5838 GB, free: 11.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001431/0.3821, allocations: 0.8686 MB / 0.5846 GB, free: 10.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.3822, allocations: 14.19 kB / 0.5847 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.3822, allocations: 20 kB / 0.5847 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.41e-05/0.3822, allocations: 28 kB / 0.5847 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.3827, allocations: 179.7 kB / 0.5849 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.189e-05/0.3828, allocations: 43.8 kB / 0.5849 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.3834, allocations: 107.7 kB / 0.585 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.3834, allocations: 55.98 kB / 0.5851 GB, free: 10.46 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.0005132/0.3839, allocations: 364 kB / 0.5854 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.384, allocations: 51.62 kB / 0.5855 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.919e-05/0.3841, allocations: 60.8 kB / 0.5855 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3841, allocations: 0 / 0.5855 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3841, allocations: 7.938 kB / 0.5855 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3841, allocations: 0 / 0.5855 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.3846, allocations: 337.1 kB / 0.5859 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3846, allocations: 4 kB / 0.5859 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.3847, allocations: 11.98 kB / 0.5859 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3847, allocations: 0 / 0.5859 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3847, allocations: 3.984 kB / 0.5859 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3847, allocations: 0 / 0.5859 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3847, allocations: 0 / 0.5859 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.3851, allocations: 279 kB / 0.5861 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.3852, allocations: 43.62 kB / 0.5862 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.3853, allocations: 4 kB / 0.5862 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.3855, allocations: 7.984 kB / 0.5862 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.3855, allocations: 19.86 kB / 0.5862 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.3855, allocations: 0 / 0.5862 GB, free: 9.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005885/0.3861, allocations: 487 kB / 0.5867 GB, free: 8.758 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3861, allocations: 0 / 0.5867 GB, free: 8.758 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006846/0.3868, allocations: 147.6 kB / 0.5868 GB, free: 8.613 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.00016/0.387, allocations: 91.25 kB / 0.5869 GB, free: 8.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007451/0.3877, allocations: 404.3 kB / 0.5873 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3877, allocations: 3.938 kB / 0.5873 GB, free: 8.117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.3878, allocations: 52.33 kB / 0.5873 GB, free: 8.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.3884, allocations: 81.56 kB / 0.5874 GB, free: 7.988 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.3901, allocations: 1.083 MB / 0.5885 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.3906, allocations: 397.5 kB / 0.5889 GB, free: 6.465 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004597/0.3911, allocations: 200.5 kB / 0.5891 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.3911, allocations: 35.42 kB / 0.5891 GB, free: 6.234 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3911, allocations: 4 kB / 0.5891 GB, free: 6.23 MB / 430.1 MB Notification: Performance of Templates: time 0.01095/0.4021, allocations: 4.601 MB / 0.5936 GB, free: 1.719 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.290483169257641]