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.001225/0.001225, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.00138/0.00138, allocations: 217.3 kB / 24.49 MB, free: 4.172 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.298/1.298, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] 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.2071/0.2071, allocations: 46.92 MB / 361.5 MB, free: 4.195 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.002197/0.002197, allocations: 80.2 kB / 0.4974 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2944, allocations: 66.08 MB / 0.562 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007518/0.302, allocations: 6.29 MB / 0.5681 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.3055, allocations: 2.002 MB / 0.5701 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.3058, allocations: 31.88 kB / 0.5701 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.3071, allocations: 0.6268 MB / 0.5707 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.3075, allocations: 202.9 kB / 0.5709 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.3077, allocations: 63.86 kB / 0.571 GB, free: 11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000494/0.3082, allocations: 422.1 kB / 0.5714 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/0.3087, allocations: 423 kB / 0.5718 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.309, allocations: 223.2 kB / 0.572 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/0.3094, allocations: 290.9 kB / 0.5723 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.157e-05/0.3095, allocations: 40 kB / 0.5723 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.3097, allocations: 91.88 kB / 0.5724 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.3099, allocations: 271.2 kB / 0.5727 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.3102, allocations: 317.9 kB / 0.573 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008418/0.3111, allocations: 0.8203 MB / 0.5738 GB, free: 8.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3111, allocations: 4 kB / 0.5738 GB, free: 8.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3111, allocations: 0 / 0.5738 GB, free: 8.129 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.505e-06/0.3111, allocations: 0 / 0.5738 GB, free: 8.129 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.001426/0.3125, allocations: 0.8896 MB / 0.5746 GB, free: 7.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3125, allocations: 8.031 kB / 0.5746 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007317/0.3133, allocations: 168.2 kB / 0.5748 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/0.3139, allocations: 384.1 kB / 0.5752 GB, free: 6.633 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.3139, allocations: 33.36 kB / 0.5752 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.314, allocations: 44.11 kB / 0.5752 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.3153, allocations: 1.085 MB / 0.5763 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3154, allocations: 4 kB / 0.5763 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.3154, allocations: 19.92 kB / 0.5763 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003098/0.3157, allocations: 196.5 kB / 0.5765 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.3168, allocations: 0.7203 MB / 0.5772 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.3209, allocations: 4.603 MB / 0.5817 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.3211, allocations: 58.53 kB / 0.5818 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3212, allocations: 48.89 kB / 0.5818 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3212, allocations: 3.984 kB / 0.5818 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3212, allocations: 30.56 kB / 0.5818 GB, free: 15.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.3212, allocations: 4 kB / 0.5818 GB, free: 15.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004897/0.3217, allocations: 225 kB / 0.5821 GB, free: 15.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.3218, allocations: 51.41 kB / 0.5821 GB, free: 15.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009399/0.3227, allocations: 0.8204 MB / 0.5829 GB, free: 14.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3227, allocations: 25.7 kB / 0.5829 GB, free: 14.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.3231, allocations: 0.5179 MB / 0.5834 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.3231, allocations: 35.81 kB / 0.5835 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.3233, allocations: 174.5 kB / 0.5836 GB, free: 13.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3235, allocations: 374.8 kB / 0.584 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.3238, allocations: 177.9 kB / 0.5842 GB, free: 13.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/0.3246, allocations: 0.7429 MB / 0.5849 GB, free: 12.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.3257, allocations: 0.9664 MB / 0.5858 GB, free: 10.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.3257, allocations: 8 kB / 0.5858 GB, free: 10.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001296/0.327, allocations: 0.8689 MB / 0.5867 GB, free: 9.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.327, allocations: 12 kB / 0.5867 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.327, allocations: 24.09 kB / 0.5867 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.786e-05/0.327, allocations: 35.92 kB / 0.5868 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.3275, allocations: 175.7 kB / 0.5869 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-05/0.3276, allocations: 43.8 kB / 0.587 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.328, allocations: 119.2 kB / 0.5871 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.3281, allocations: 44 kB / 0.5871 GB, free: 9.434 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.0003791/0.3285, allocations: 359.8 kB / 0.5875 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/0.3285, allocations: 71.52 kB / 0.5875 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.628e-05/0.3286, allocations: 65.36 kB / 0.5876 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3286, allocations: 3.938 kB / 0.5876 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3286, allocations: 0 / 0.5876 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3286, allocations: 0 / 0.5876 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.3292, allocations: 476.4 kB / 0.5881 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3292, allocations: 0 / 0.5881 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.716e-05/0.3293, allocations: 11.98 kB / 0.5881 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3293, allocations: 4 kB / 0.5881 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3293, allocations: 0 / 0.5881 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3293, allocations: 11.94 kB / 0.5881 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3293, allocations: 7.875 kB / 0.5881 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.3296, allocations: 263 kB / 0.5883 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3297, allocations: 59.8 kB / 0.5884 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.3298, allocations: 4 kB / 0.5884 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.33, allocations: 15.92 kB / 0.5884 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.33, allocations: 15.97 kB / 0.5884 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.33, allocations: 0 / 0.5884 GB, free: 8.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006246/0.3306, allocations: 0.5263 MB / 0.5889 GB, free: 7.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3306, allocations: 4 kB / 0.589 GB, free: 7.488 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005846/0.3312, allocations: 131.8 kB / 0.5891 GB, free: 7.359 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.000134/0.3314, allocations: 99.23 kB / 0.5892 GB, free: 7.254 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006423/0.332, allocations: 412.2 kB / 0.5896 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.332, allocations: 0 / 0.5896 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3321, allocations: 44.33 kB / 0.5896 GB, free: 6.812 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.3326, allocations: 91.31 kB / 0.5897 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.3343, allocations: 1.175 MB / 0.5908 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.335, allocations: 0.987 MB / 0.5918 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.3351, allocations: 43.42 kB / 0.5918 GB, free: 4.461 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3351, allocations: 0 / 0.5918 GB, free: 4.461 MB / 430.1 MB Notification: Performance of Templates: time 0.01119/0.3463, allocations: 7.615 MB / 0.5993 GB, free: 12.86 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/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_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: 7.341015818994492]