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.0008472/0.0008472, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002131, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001407/0.001407, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001572/0.002979, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9762/0.9762, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09309/1.069, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.2392/0.2392, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04564/0.2848, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.7 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 1.623e-06/1.623e-06, allocations: 0 / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.717e-05, allocations: 2.312 kB / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.004928/0.004945, allocations: 6.055 MB / 298.7 MB, free: 236 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.007809, allocations: 2.009 MB / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.008214, allocations: 31.88 kB / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007868/0.009001, allocations: 0.6228 MB / 301.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.009307, allocations: 202.6 kB / 301.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.009472, allocations: 59.78 kB / 301.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.009812, allocations: 434 kB / 302 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.01021, allocations: 433 kB / 302.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.01055, allocations: 376.3 kB / 302.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.01082, allocations: 239.3 kB / 303 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.01087, allocations: 36 kB / 303.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.01102, allocations: 95.75 kB / 303.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.01118, allocations: 247.3 kB / 303.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.0113, allocations: 147.6 kB / 303.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.01176, allocations: 0.5251 MB / 304.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.01178, allocations: 0 / 304.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01178, allocations: 0 / 304.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.0118, allocations: 0 / 304.1 MB, free: 10.8 MB / 298.7 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.0009366/0.01273, allocations: 0.9515 MB / 305 MB, free: 9.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.01276, allocations: 12.03 kB / 305 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004371/0.0132, allocations: 237.8 kB / 305.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.01351, allocations: 327.5 kB / 305.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.01353, allocations: 29.36 kB / 305.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.013e-05/0.01357, allocations: 48.3 kB / 305.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.01407, allocations: 0.6298 MB / 306.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.01409, allocations: 11.88 kB / 306.3 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.01411, allocations: 19.98 kB / 306.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/0.01428, allocations: 176.5 kB / 306.5 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.01453, allocations: 238.8 kB / 306.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.01644, allocations: 3.887 MB / 310.6 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.227e-05/0.01648, allocations: 22.58 kB / 310.6 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.0165, allocations: 8.859 kB / 310.6 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.01651, allocations: 0 / 310.6 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.01653, allocations: 38.59 kB / 310.7 MB, free: 3.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.01653, allocations: 0 / 310.7 MB, free: 3.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001391/0.01667, allocations: 65.64 kB / 310.8 MB, free: 3.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.01669, allocations: 51.41 kB / 310.8 MB, free: 3.691 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.01706, allocations: 0.6009 MB / 311.4 MB, free: 3.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.01707, allocations: 29.7 kB / 311.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.01726, allocations: 491.7 kB / 311.9 MB, free: 2.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.01728, allocations: 35.84 kB / 311.9 MB, free: 2.523 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.01739, allocations: 162.4 kB / 312.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.01749, allocations: 374.6 kB / 312.5 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.925e-05/0.01754, allocations: 45.97 kB / 312.5 MB, free: 1.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.01784, allocations: 0.6218 MB / 313.1 MB, free: 1.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.0183, allocations: 0.77 MB / 313.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.01831, allocations: 4 kB / 313.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004674/0.01878, allocations: 0.5523 MB / 314.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01879, allocations: 12 kB / 314.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.01881, allocations: 20 kB / 314.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.01882, allocations: 31.94 kB / 314.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.0191, allocations: 196.3 kB / 314.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.01912, allocations: 39.84 kB / 314.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.01936, allocations: 111.2 kB / 314.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.01939, allocations: 48 kB / 314.9 MB, free: 14.96 MB / 314.7 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 (fixed3.color[1],fixed3.color[2],fixed3.color[3],arrow.color[1],arrow.color[2],arrow.color[3],fixedArrow.color[1],fixedArrow.color[2],fixedArrow.color[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],arrow.headAtOrigin,arrow.arrow.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.arrowLine.twoHeadedArrow) * 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.0001403/0.01953, allocations: 195 kB / 315.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.01956, allocations: 27.95 kB / 315.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.505e-05/0.0196, allocations: 48.8 kB / 315.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.01961, allocations: 3.938 kB / 315.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01961, allocations: 0 / 315.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.01961, allocations: 0 / 315.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.0198, allocations: 209.6 kB / 315.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.0198, allocations: 0 / 315.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.01984, allocations: 15.98 kB / 315.4 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.01987, allocations: 47.61 kB / 315.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.01988, allocations: 0 / 315.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.01988, allocations: 0 / 315.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01988, allocations: 4 kB / 315.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01988, allocations: 0 / 315.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.962e-05/0.01997, allocations: 155.5 kB / 315.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.02, allocations: 4 kB / 315.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.02007, allocations: 7.984 kB / 315.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.0201, allocations: 8 kB / 315.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.0201, allocations: 3.984 kB / 315.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.02026, allocations: 240.5 kB / 315.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02026, allocations: 0 / 315.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000345/0.0206, allocations: 151.6 kB / 316 MB, free: 13.82 MB / 314.7 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 7.721e-05/0.02068, allocations: 76.42 kB / 316.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.0209, allocations: 263 kB / 316.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-05/0.02092, allocations: 17.81 kB / 316.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.02094, allocations: 14.53 kB / 316.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.0212, allocations: 127 kB / 316.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.02296, allocations: 0.9908 MB / 317.5 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.02307, allocations: 185.2 kB / 317.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.02321, allocations: 68.84 kB / 317.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.02332, allocations: 123.3 kB / 317.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02332, allocations: 0 / 317.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of Templates: time 0.00674/0.03006, allocations: 4.287 MB / 322.1 MB, free: 7.715 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7936714133247733]