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.002031/0.002031, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002519/0.002519, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.51/1.51, allocations: 230.3 MB / 257.9 MB, free: 8.258 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.2315/0.2315, allocations: 46.89 MB / 361.3 MB, free: 4.445 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.002223/0.002223, allocations: 83.84 kB / 0.4971 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.336, allocations: 66.04 MB / 0.5616 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00821/0.3442, allocations: 6.289 MB / 0.5677 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00408/0.3483, allocations: 2.002 MB / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005221/0.3488, allocations: 31.88 kB / 0.5697 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.3503, allocations: 0.6228 MB / 0.5703 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.3508, allocations: 210.9 kB / 0.5705 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3511, allocations: 59.88 kB / 0.5705 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.3516, allocations: 418.1 kB / 0.5709 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.3522, allocations: 375.3 kB / 0.5713 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.3525, allocations: 219.1 kB / 0.5715 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.3529, allocations: 302.8 kB / 0.5718 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.353, allocations: 40 kB / 0.5718 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.3532, allocations: 83.95 kB / 0.5719 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.3535, allocations: 271.1 kB / 0.5722 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.3537, allocations: 314 kB / 0.5725 GB, free: 9.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009283/0.3547, allocations: 0.8233 MB / 0.5733 GB, free: 8.516 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3547, allocations: 0 / 0.5733 GB, free: 8.516 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3547, allocations: 0 / 0.5733 GB, free: 8.516 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.3547, allocations: 0 / 0.5733 GB, free: 8.516 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.001503/0.3562, allocations: 0.8974 MB / 0.5742 GB, free: 7.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3562, allocations: 8.031 kB / 0.5742 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/0.357, allocations: 160.2 kB / 0.5743 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.3577, allocations: 388.2 kB / 0.5747 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.3578, allocations: 29.36 kB / 0.5747 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.3579, allocations: 48.11 kB / 0.5748 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.3593, allocations: 1.085 MB / 0.5758 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.3594, allocations: 7.938 kB / 0.5758 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.3594, allocations: 19.98 kB / 0.5759 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003458/0.3598, allocations: 196.4 kB / 0.576 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.3609, allocations: 0.7087 MB / 0.5767 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.3652, allocations: 4.611 MB / 0.5812 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.3654, allocations: 58.61 kB / 0.5813 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.3655, allocations: 56.83 kB / 0.5813 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.3655, allocations: 0 / 0.5813 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3655, allocations: 30.56 kB / 0.5814 GB, free: 15.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 3.085e-06/0.3655, allocations: 3.984 kB / 0.5814 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005393/0.3661, allocations: 217.1 kB / 0.5816 GB, free: 15.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3661, allocations: 55.41 kB / 0.5816 GB, free: 15.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009906/0.3671, allocations: 0.8088 MB / 0.5824 GB, free: 14.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3671, allocations: 37.64 kB / 0.5825 GB, free: 14.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.3675, allocations: 0.5139 MB / 0.583 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.3676, allocations: 35.81 kB / 0.583 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.3678, allocations: 170.5 kB / 0.5832 GB, free: 13.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000248/0.3681, allocations: 382.8 kB / 0.5835 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.3684, allocations: 177.8 kB / 0.5837 GB, free: 13.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000807/0.3692, allocations: 0.739 MB / 0.5844 GB, free: 12.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.3704, allocations: 0.9781 MB / 0.5854 GB, free: 11.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.3704, allocations: 11.94 kB / 0.5854 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001413/0.3718, allocations: 0.8644 MB / 0.5862 GB, free: 10.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.3718, allocations: 12 kB / 0.5862 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.3718, allocations: 20 kB / 0.5863 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.84e-05/0.3719, allocations: 32.72 kB / 0.5863 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.3724, allocations: 179.6 kB / 0.5865 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.401e-05/0.3724, allocations: 35.86 kB / 0.5865 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.3729, allocations: 119.2 kB / 0.5866 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/0.373, allocations: 52 kB / 0.5867 GB, free: 9.812 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.0004208/0.3734, allocations: 359.8 kB / 0.587 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.331e-05/0.3735, allocations: 59.58 kB / 0.5871 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.3736, allocations: 65.38 kB / 0.5871 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3736, allocations: 7.938 kB / 0.5871 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3736, allocations: 3.938 kB / 0.5871 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3736, allocations: 0 / 0.5871 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.3742, allocations: 480.4 kB / 0.5876 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3742, allocations: 0 / 0.5876 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.3743, allocations: 11.98 kB / 0.5876 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3743, allocations: 0 / 0.5876 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3743, allocations: 4 kB / 0.5876 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3743, allocations: 3.938 kB / 0.5876 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3743, allocations: 0 / 0.5876 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.3747, allocations: 275 kB / 0.5879 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3748, allocations: 59.56 kB / 0.5879 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.3748, allocations: 0 / 0.5879 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.375, allocations: 11.94 kB / 0.5879 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.3751, allocations: 12.2 kB / 0.588 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3751, allocations: 4 kB / 0.588 GB, free: 8.406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006727/0.3758, allocations: 0.5302 MB / 0.5885 GB, free: 7.879 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3758, allocations: 3.938 kB / 0.5885 GB, free: 7.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006307/0.3764, allocations: 139.7 kB / 0.5886 GB, free: 7.738 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.0001239/0.3765, allocations: 91.25 kB / 0.5887 GB, free: 7.641 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.3772, allocations: 407.1 kB / 0.5891 GB, free: 7.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3772, allocations: 3.938 kB / 0.5891 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.3773, allocations: 53.5 kB / 0.5891 GB, free: 7.191 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.3778, allocations: 88.92 kB / 0.5892 GB, free: 7.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.3795, allocations: 1.099 MB / 0.5903 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/0.3802, allocations: 0.9831 MB / 0.5913 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004433/0.3807, allocations: 208.8 kB / 0.5915 GB, free: 4.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.367e-05/0.3807, allocations: 35.44 kB / 0.5915 GB, free: 4.727 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3807, allocations: 0 / 0.5915 GB, free: 4.727 MB / 430.1 MB Notification: Performance of Templates: time 0.01091/0.3917, allocations: 5.08 MB / 0.5965 GB, free: 15.68 MB / 446.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.0.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.235701125115156]