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.001802/0.001802, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.001576/0.001576, allocations: 205.9 kB / 24.48 MB, free: 3.934 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.487/1.487, allocations: 230.5 MB / 258.1 MB, free: 7.746 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.2266/0.2266, allocations: 46.95 MB / 361.6 MB, free: 4.008 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.00247/0.00247, allocations: 83.88 kB / 0.4974 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.361, allocations: 66.09 MB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008345/0.3694, allocations: 5.602 MB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004862/0.3743, allocations: 1.869 MB / 0.5692 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008577/0.3751, allocations: 31.88 kB / 0.5693 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.3767, allocations: 0.5879 MB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.3773, allocations: 210.9 kB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.3776, allocations: 63.86 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006198/0.3782, allocations: 418.1 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006166/0.3788, allocations: 427 kB / 0.5709 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.3792, allocations: 219.1 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.3797, allocations: 282.9 kB / 0.5714 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.113e-05/0.3797, allocations: 36 kB / 0.5714 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.38, allocations: 83.89 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.3803, allocations: 275.1 kB / 0.5718 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.3805, allocations: 238.4 kB / 0.572 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000988/0.3815, allocations: 0.8312 MB / 0.5728 GB, free: 8.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3815, allocations: 3.938 kB / 0.5728 GB, free: 8.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3815, allocations: 4 kB / 0.5728 GB, free: 8.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.3815, allocations: 0 / 0.5728 GB, free: 8.762 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.001576/0.3831, allocations: 0.8818 MB / 0.5737 GB, free: 7.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3831, allocations: 8.031 kB / 0.5737 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/0.3839, allocations: 168.2 kB / 0.5738 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007173/0.3846, allocations: 388.1 kB / 0.5742 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.3847, allocations: 33.36 kB / 0.5742 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.3847, allocations: 40.11 kB / 0.5743 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.3863, allocations: 1.085 MB / 0.5753 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.3864, allocations: 7.938 kB / 0.5753 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-05/0.3864, allocations: 23.92 kB / 0.5754 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003626/0.3868, allocations: 192.5 kB / 0.5755 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.3881, allocations: 0.7126 MB / 0.5762 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004682/0.3927, allocations: 4.311 MB / 0.5804 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.393, allocations: 62.53 kB / 0.5805 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.3931, allocations: 44.91 kB / 0.5806 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.3931, allocations: 0 / 0.5806 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.3932, allocations: 42.48 kB / 0.5806 GB, free: 436 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.3932, allocations: 0 / 0.5806 GB, free: 436 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005529/0.3937, allocations: 201.2 kB / 0.5808 GB, free: 228 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3938, allocations: 59.34 kB / 0.5808 GB, free: 156 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.3948, allocations: 0.7731 MB / 0.5816 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3948, allocations: 29.7 kB / 0.5816 GB, free: 15.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/0.3953, allocations: 0.526 MB / 0.5821 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.3953, allocations: 27.89 kB / 0.5822 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.3955, allocations: 166.5 kB / 0.5823 GB, free: 14.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3957, allocations: 370.8 kB / 0.5827 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.396, allocations: 173.9 kB / 0.5828 GB, free: 14.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.3969, allocations: 0.7428 MB / 0.5836 GB, free: 13.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.398, allocations: 0.9782 MB / 0.5845 GB, free: 11.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.398, allocations: 4 kB / 0.5845 GB, free: 11.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001385/0.3994, allocations: 0.8685 MB / 0.5854 GB, free: 10.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.3994, allocations: 12 kB / 0.5854 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.3995, allocations: 20 kB / 0.5854 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.039e-05/0.3995, allocations: 28 kB / 0.5854 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.4, allocations: 175.6 kB / 0.5856 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.396e-05/0.4, allocations: 48.34 kB / 0.5856 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.4006, allocations: 115.2 kB / 0.5858 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.4006, allocations: 56 kB / 0.5858 GB, free: 10.45 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.0004452/0.4011, allocations: 352.1 kB / 0.5861 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.4012, allocations: 59.56 kB / 0.5862 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.365e-05/0.4013, allocations: 64.78 kB / 0.5863 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4013, allocations: 0 / 0.5863 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4013, allocations: 3.938 kB / 0.5863 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4013, allocations: 0 / 0.5863 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.4017, allocations: 341.1 kB / 0.5866 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4017, allocations: 0 / 0.5866 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.4018, allocations: 15.92 kB / 0.5866 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4018, allocations: 0 / 0.5866 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.4018, allocations: 7.938 kB / 0.5866 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4018, allocations: 0 / 0.5866 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4018, allocations: 0 / 0.5866 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.4022, allocations: 267 kB / 0.5869 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.4023, allocations: 59.61 kB / 0.5869 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.4023, allocations: 0 / 0.5869 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.4025, allocations: 7.984 kB / 0.5869 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.4026, allocations: 11.92 kB / 0.5869 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.4026, allocations: 0 / 0.5869 GB, free: 9.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005699/0.4031, allocations: 483 kB / 0.5874 GB, free: 8.754 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4031, allocations: 0 / 0.5874 GB, free: 8.754 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006747/0.4038, allocations: 147.6 kB / 0.5875 GB, free: 8.609 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.0001507/0.404, allocations: 103.2 kB / 0.5876 GB, free: 8.496 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006872/0.4047, allocations: 404 kB / 0.588 GB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4047, allocations: 0.75 kB / 0.588 GB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4048, allocations: 51.89 kB / 0.5881 GB, free: 8.055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.4053, allocations: 80.5 kB / 0.5882 GB, free: 7.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.4071, allocations: 1.155 MB / 0.5893 GB, free: 6.789 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.4076, allocations: 397.5 kB / 0.5897 GB, free: 6.379 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.4077, allocations: 43.42 kB / 0.5897 GB, free: 6.336 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4077, allocations: 3.938 kB / 0.5897 GB, free: 6.332 MB / 430.1 MB Notification: Performance of Templates: time 0.01225/0.4199, allocations: 7.45 MB / 0.597 GB, free: 14.89 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: 8.143211340997368]