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.001341/0.001341, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001788/0.001788, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.589/1.589, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.238/0.238, allocations: 46.9 MB / 361.1 MB, free: 4.629 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.002338/0.002338, allocations: 75.88 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3432, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008682/0.3519, allocations: 6.293 MB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00456/0.3564, allocations: 2.002 MB / 0.5693 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/0.3572, allocations: 23.94 kB / 0.5693 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.3586, allocations: 0.6229 MB / 0.5699 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.3591, allocations: 202.9 kB / 0.5701 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.3594, allocations: 59.88 kB / 0.5702 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005834/0.36, allocations: 418.1 kB / 0.5706 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005554/0.3605, allocations: 370.8 kB / 0.5709 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.3609, allocations: 223.2 kB / 0.5712 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004589/0.3613, allocations: 294.8 kB / 0.5714 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.261e-05/0.3614, allocations: 36 kB / 0.5715 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.3616, allocations: 91.88 kB / 0.5716 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.3619, allocations: 267.2 kB / 0.5718 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.3622, allocations: 322 kB / 0.5721 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.3632, allocations: 0.8205 MB / 0.5729 GB, free: 8.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3632, allocations: 0 / 0.5729 GB, free: 8.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3632, allocations: 4 kB / 0.5729 GB, free: 8.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.3632, allocations: 0 / 0.5729 GB, free: 8.938 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.00164/0.3648, allocations: 0.9688 MB / 0.5739 GB, free: 7.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3649, allocations: 8.031 kB / 0.5739 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/0.3657, allocations: 164.2 kB / 0.574 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.3664, allocations: 442 kB / 0.5745 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.3664, allocations: 29.36 kB / 0.5745 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.3665, allocations: 52.09 kB / 0.5745 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.3679, allocations: 1.082 MB / 0.5756 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.368, allocations: 7.938 kB / 0.5756 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.368, allocations: 19.98 kB / 0.5756 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003631/0.3684, allocations: 188.4 kB / 0.5758 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.3695, allocations: 0.7161 MB / 0.5765 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004648/0.3742, allocations: 4.654 MB / 0.581 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3744, allocations: 58.52 kB / 0.5811 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.3745, allocations: 52.91 kB / 0.5812 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3745, allocations: 0 / 0.5812 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3745, allocations: 34.5 kB / 0.5812 GB, free: 76 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3745, allocations: 4 kB / 0.5812 GB, free: 72 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005772/0.3751, allocations: 217.1 kB / 0.5814 GB, free: 15.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3751, allocations: 55.34 kB / 0.5815 GB, free: 15.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.3762, allocations: 0.8127 MB / 0.5822 GB, free: 14.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.3762, allocations: 25.7 kB / 0.5823 GB, free: 14.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.3766, allocations: 0.5217 MB / 0.5828 GB, free: 14.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.3767, allocations: 31.88 kB / 0.5828 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.3769, allocations: 166.5 kB / 0.583 GB, free: 14.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.3771, allocations: 374.8 kB / 0.5833 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.3774, allocations: 185.9 kB / 0.5835 GB, free: 13.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008179/0.3782, allocations: 0.7389 MB / 0.5842 GB, free: 12.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.3794, allocations: 0.9743 MB / 0.5852 GB, free: 11.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.3794, allocations: 4 kB / 0.5852 GB, free: 11.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001405/0.3808, allocations: 0.8724 MB / 0.586 GB, free: 10.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.3809, allocations: 16 kB / 0.586 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.3809, allocations: 20 kB / 0.5861 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.548e-05/0.3809, allocations: 31.88 kB / 0.5861 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.3814, allocations: 175.6 kB / 0.5863 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.554e-05/0.3814, allocations: 44.41 kB / 0.5863 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.382, allocations: 127.1 kB / 0.5864 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.382, allocations: 48 kB / 0.5865 GB, free: 10.03 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.0004199/0.3825, allocations: 355.5 kB / 0.5868 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.359e-05/0.3825, allocations: 63.77 kB / 0.5869 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.951e-05/0.3826, allocations: 61.28 kB / 0.5869 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.3827, allocations: 7.922 kB / 0.5869 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3827, allocations: 0 / 0.5869 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3827, allocations: 4 kB / 0.5869 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.3833, allocations: 0.5012 MB / 0.5874 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3833, allocations: 0 / 0.5874 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3834, allocations: 15.92 kB / 0.5874 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3834, allocations: 0 / 0.5874 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3834, allocations: 0 / 0.5874 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3834, allocations: 3.938 kB / 0.5875 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3834, allocations: 0 / 0.5875 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.3838, allocations: 275 kB / 0.5877 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.384, allocations: 128.7 kB / 0.5878 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.384, allocations: 8 kB / 0.5878 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3842, allocations: 11.92 kB / 0.5879 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.3843, allocations: 7.984 kB / 0.5879 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.3843, allocations: 0 / 0.5879 GB, free: 8.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006749/0.385, allocations: 0.5341 MB / 0.5884 GB, free: 7.973 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.385, allocations: 4 kB / 0.5884 GB, free: 7.969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006512/0.3856, allocations: 135.7 kB / 0.5885 GB, free: 7.836 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.0001483/0.3858, allocations: 99.19 kB / 0.5886 GB, free: 7.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007254/0.3865, allocations: 407.8 kB / 0.589 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3865, allocations: 0 / 0.589 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.3866, allocations: 47.94 kB / 0.589 GB, free: 7.289 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.3872, allocations: 91.7 kB / 0.5891 GB, free: 7.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.389, allocations: 1.106 MB / 0.5902 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.3897, allocations: 0.9872 MB / 0.5912 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004812/0.3902, allocations: 208.8 kB / 0.5914 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.3903, allocations: 35.44 kB / 0.5914 GB, free: 4.812 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3903, allocations: 0 / 0.5914 GB, free: 4.812 MB / 430.1 MB Notification: Performance of Templates: time 0.01064/0.4009, allocations: 4.804 MB / 0.5961 GB, free: 36 kB / 430.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 cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.332055293954909]