Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 208.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2425/0.2425, allocations: 46.96 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 72.06 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3438, allocations: 66.03 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007584/0.3514, allocations: 5.61 MB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.3554, allocations: 1.877 MB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/0.3559, allocations: 27.88 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.3573, allocations: 0.5996 MB / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.3578, allocations: 198.9 kB / 0.5692 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.358, allocations: 63.88 kB / 0.5693 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.3585, allocations: 410.2 kB / 0.5697 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006114/0.3591, allocations: 427 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.3595, allocations: 231.1 kB / 0.5703 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004336/0.3599, allocations: 286.9 kB / 0.5706 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-05/0.36, allocations: 40 kB / 0.5706 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.3602, allocations: 91.89 kB / 0.5707 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.3605, allocations: 275.1 kB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002923/0.3608, allocations: 238.4 kB / 0.5712 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009271/0.3617, allocations: 0.8232 MB / 0.572 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3617, allocations: 0 / 0.572 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3617, allocations: 0 / 0.572 GB, free: 8.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.3617, allocations: 3.938 kB / 0.572 GB, free: 8.977 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.3632, allocations: 0.8974 MB / 0.5729 GB, free: 8.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3632, allocations: 8.031 kB / 0.5729 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/0.364, allocations: 160.2 kB / 0.573 GB, free: 7.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.3648, allocations: 384.2 kB / 0.5734 GB, free: 7.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.3648, allocations: 37.36 kB / 0.5734 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.3649, allocations: 40.11 kB / 0.5735 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.3664, allocations: 1.089 MB / 0.5745 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3664, allocations: 3.938 kB / 0.5745 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.3665, allocations: 19.98 kB / 0.5745 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000369/0.3669, allocations: 192.5 kB / 0.5747 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.368, allocations: 0.7164 MB / 0.5754 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004068/0.3721, allocations: 4.315 MB / 0.5796 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.3723, allocations: 58.53 kB / 0.5797 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.3724, allocations: 48.91 kB / 0.5797 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3724, allocations: 0 / 0.5797 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.3724, allocations: 38.5 kB / 0.5798 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3724, allocations: 0 / 0.5798 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005479/0.373, allocations: 209.1 kB / 0.58 GB, free: 432 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.3731, allocations: 59.34 kB / 0.58 GB, free: 360 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009322/0.374, allocations: 0.7691 MB / 0.5808 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.374, allocations: 33.7 kB / 0.5808 GB, free: 15.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.3744, allocations: 0.5222 MB / 0.5813 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.3744, allocations: 23.89 kB / 0.5813 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.3746, allocations: 170.5 kB / 0.5815 GB, free: 14.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3748, allocations: 370.8 kB / 0.5819 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.3752, allocations: 181.9 kB / 0.582 GB, free: 14.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.3762, allocations: 0.739 MB / 0.5828 GB, free: 13.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.3774, allocations: 0.9743 MB / 0.5837 GB, free: 11.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/0.3774, allocations: 4 kB / 0.5837 GB, free: 11.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00163/0.379, allocations: 0.8681 MB / 0.5846 GB, free: 11.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.3791, allocations: 12.94 kB / 0.5846 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.3791, allocations: 20 kB / 0.5846 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-05/0.3791, allocations: 28 kB / 0.5846 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.3797, allocations: 187.6 kB / 0.5848 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-05/0.3797, allocations: 39.8 kB / 0.5848 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/0.3803, allocations: 115.2 kB / 0.5849 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.3804, allocations: 52 kB / 0.585 GB, free: 10.65 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.0004753/0.3808, allocations: 347.9 kB / 0.5853 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.3809, allocations: 55.62 kB / 0.5854 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.381, allocations: 60.8 kB / 0.5854 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.381, allocations: 4 kB / 0.5854 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.381, allocations: 3.938 kB / 0.5854 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.381, allocations: 3.984 kB / 0.5855 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.3816, allocations: 337.1 kB / 0.5858 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3816, allocations: 0 / 0.5858 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.535e-05/0.3816, allocations: 15.92 kB / 0.5858 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3816, allocations: 0 / 0.5858 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3817, allocations: 7.938 kB / 0.5858 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3817, allocations: 0 / 0.5858 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3817, allocations: 3.938 kB / 0.5858 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.3821, allocations: 275.2 kB / 0.5861 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.3822, allocations: 51.62 kB / 0.5861 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.3822, allocations: 0 / 0.5861 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.3824, allocations: 7.984 kB / 0.5861 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.3825, allocations: 11.92 kB / 0.5861 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.3825, allocations: 3.984 kB / 0.5861 GB, free: 9.422 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008473/0.3833, allocations: 483 kB / 0.5866 GB, free: 8.957 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3833, allocations: 0 / 0.5866 GB, free: 8.957 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006939/0.384, allocations: 151.6 kB / 0.5867 GB, free: 8.809 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.0001638/0.3842, allocations: 95.19 kB / 0.5868 GB, free: 8.703 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007234/0.3849, allocations: 412.5 kB / 0.5872 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3849, allocations: 0 / 0.5872 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.385, allocations: 47.94 kB / 0.5873 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.3856, allocations: 78.06 kB / 0.5873 GB, free: 8.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.3875, allocations: 1.087 MB / 0.5884 GB, free: 7.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.388, allocations: 389.4 kB / 0.5888 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004421/0.3884, allocations: 204.6 kB / 0.589 GB, free: 6.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.3885, allocations: 39.42 kB / 0.589 GB, free: 6.43 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3885, allocations: 0 / 0.589 GB, free: 6.43 MB / 430.1 MB Notification: Performance of Templates: time 0.01086/0.3994, allocations: 4.839 MB / 0.5937 GB, free: 1.684 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.336045870091766]