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.001928/0.001928, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002303/0.002303, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.49/1.49, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3325/0.3325, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.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.523e-06/1.523e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.563e-05, allocations: 6.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008651/0.008677, allocations: 5.622 MB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.01307, allocations: 1.877 MB / 384.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004531/0.01352, allocations: 31.88 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.01513, allocations: 0.6345 MB / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005326/0.01567, allocations: 214.6 kB / 385.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.01594, allocations: 55.78 kB / 385.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006279/0.01657, allocations: 433.9 kB / 386.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000716/0.01728, allocations: 431 kB / 386.5 MB, free: 9.656 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/0.01783, allocations: 323.1 kB / 386.9 MB, free: 9.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.0183, allocations: 255.3 kB / 387.1 MB, free: 9.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.038e-05/0.01839, allocations: 36 kB / 387.1 MB, free: 9.055 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.0186, allocations: 83.89 kB / 387.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.01893, allocations: 283.1 kB / 387.5 MB, free: 8.695 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.01918, allocations: 179.3 kB / 387.7 MB, free: 8.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.02029, allocations: 0.8019 MB / 388.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.02029, allocations: 0 / 388.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.0203, allocations: 0 / 388.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.02031, allocations: 0 / 388.5 MB, free: 7.715 MB / 362.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.002006/0.02231, allocations: 0.8818 MB / 389.4 MB, free: 6.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.02237, allocations: 12.03 kB / 389.4 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008788/0.02324, allocations: 204.3 kB / 389.6 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.02395, allocations: 399.3 kB / 390 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.02399, allocations: 33.36 kB / 390 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/0.02406, allocations: 40.36 kB / 390 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.0257, allocations: 1.086 MB / 391.1 MB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.02572, allocations: 7.875 kB / 391.1 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/0.02578, allocations: 23.98 kB / 391.2 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003673/0.02615, allocations: 192.5 kB / 391.3 MB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.02739, allocations: 0.7087 MB / 392 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005104/0.0325, allocations: 4.319 MB / 396.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.03267, allocations: 58.53 kB / 396.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.03279, allocations: 48.91 kB / 396.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.03282, allocations: 0 / 396.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.03285, allocations: 30.56 kB / 396.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.03285, allocations: 0 / 396.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006106/0.03346, allocations: 213.1 kB / 396.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.03352, allocations: 55.41 kB / 396.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.0346, allocations: 0.7691 MB / 397.5 MB, free: 14.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.03463, allocations: 29.7 kB / 397.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.03511, allocations: 0.5222 MB / 398.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.03516, allocations: 23.88 kB / 398.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.03539, allocations: 166.5 kB / 398.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.03563, allocations: 378.7 kB / 398.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.03596, allocations: 177.9 kB / 398.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009182/0.03688, allocations: 0.7351 MB / 399.5 MB, free: 11.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.03836, allocations: 0.9781 MB / 400.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.03837, allocations: 4 kB / 400.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001682/0.04006, allocations: 0.9152 MB / 401.4 MB, free: 9.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.0401, allocations: 12 kB / 401.5 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/0.04014, allocations: 20 kB / 401.5 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.626e-05/0.04019, allocations: 28 kB / 401.5 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/0.04074, allocations: 175.7 kB / 401.7 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.866e-05/0.04079, allocations: 44.31 kB / 401.7 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/0.04139, allocations: 115.2 kB / 401.8 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.04147, allocations: 55.94 kB / 401.9 MB, free: 9.312 MB / 378.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 (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.0004652/0.04193, allocations: 356.1 kB / 402.2 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/0.04203, allocations: 55.62 kB / 402.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.04239, allocations: 60.78 kB / 402.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.04239, allocations: 3.938 kB / 402.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.0424, allocations: 0 / 402.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.0424, allocations: 0 / 402.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.04287, allocations: 353 kB / 402.7 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.04287, allocations: 0 / 402.7 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.04296, allocations: 11.98 kB / 402.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.04296, allocations: 0 / 402.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.04297, allocations: 0 / 402.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.04297, allocations: 3.938 kB / 402.7 MB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.04297, allocations: 0 / 402.7 MB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.04338, allocations: 267 kB / 403 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.04348, allocations: 55.61 kB / 403 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.04352, allocations: 4 kB / 403 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.0437, allocations: 4 kB / 403 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.04376, allocations: 11.97 kB / 403 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.04377, allocations: 4 kB / 403.1 MB, free: 8.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006378/0.04441, allocations: 479 kB / 403.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04441, allocations: 0 / 403.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006822/0.04509, allocations: 143.7 kB / 403.7 MB, free: 7.473 MB / 378.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 0.0001606/0.04525, allocations: 103.2 kB / 403.8 MB, free: 7.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007642/0.04602, allocations: 407.9 kB / 404.2 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.04602, allocations: 0.6875 kB / 404.2 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.04615, allocations: 51.94 kB / 404.2 MB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.04666, allocations: 81.27 kB / 404.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.04852, allocations: 1.081 MB / 405.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.04905, allocations: 393.5 kB / 405.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000471/0.04952, allocations: 196.5 kB / 405.9 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.04962, allocations: 40.5 kB / 406 MB, free: 5.094 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.04962, allocations: 0 / 406 MB, free: 5.094 MB / 378.7 MB Notification: Performance of Templates: time 0.01022/0.05984, allocations: 4.015 MB / 410 MB, free: 1.168 MB / 378.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=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: 4.851806385908276]