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.001542/0.001542, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001769/0.001769, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.537/1.537, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3719/0.3719, allocations: 34.24 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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 2.174e-06/2.174e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.655e-05/3.872e-05, allocations: 4.703 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008808/0.008847, allocations: 5.626 MB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005134/0.01398, allocations: 1.873 MB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007354/0.01472, allocations: 35.88 kB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.0165, allocations: 0.6345 MB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.0171, allocations: 206.6 kB / 385.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.01742, allocations: 59.8 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006226/0.01804, allocations: 433.9 kB / 386 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.01879, allocations: 439 kB / 386.5 MB, free: 9.602 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005613/0.01935, allocations: 315.1 kB / 386.8 MB, free: 9.293 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.01986, allocations: 259.3 kB / 387 MB, free: 9.039 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.713e-05/0.01994, allocations: 36 kB / 387.1 MB, free: 9.004 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.02018, allocations: 95.81 kB / 387.2 MB, free: 8.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.02054, allocations: 275.2 kB / 387.4 MB, free: 8.641 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.0208, allocations: 179.4 kB / 387.6 MB, free: 8.465 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.02206, allocations: 0.8058 MB / 388.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.02207, allocations: 0 / 388.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.02207, allocations: 0 / 388.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.02208, allocations: 0 / 388.4 MB, free: 7.656 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.001674/0.02375, allocations: 0.8857 MB / 389.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.02379, allocations: 8.031 kB / 389.3 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008882/0.02468, allocations: 204.3 kB / 389.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.02537, allocations: 399.3 kB / 389.9 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.02541, allocations: 29.36 kB / 389.9 MB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.576e-05/0.02551, allocations: 44.36 kB / 390 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.0272, allocations: 1.086 MB / 391 MB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.02722, allocations: 7.875 kB / 391.1 MB, free: 4.836 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.02728, allocations: 23.98 kB / 391.1 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003957/0.02768, allocations: 184.5 kB / 391.3 MB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.02894, allocations: 0.7126 MB / 392 MB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005112/0.03406, allocations: 4.327 MB / 396.3 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.03422, allocations: 54.53 kB / 396.3 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.03435, allocations: 44.91 kB / 396.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.03438, allocations: 4 kB / 396.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.03442, allocations: 30.56 kB / 396.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.03442, allocations: 0 / 396.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006474/0.03506, allocations: 217.1 kB / 396.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.03512, allocations: 51.41 kB / 396.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.03617, allocations: 0.7691 MB / 397.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.03619, allocations: 25.7 kB / 397.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.03667, allocations: 0.5183 MB / 398 MB, free: 13.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.03671, allocations: 31.86 kB / 398 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.03694, allocations: 166.5 kB / 398.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.03719, allocations: 374.7 kB / 398.6 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.03757, allocations: 185.9 kB / 398.7 MB, free: 12.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.03847, allocations: 0.7312 MB / 399.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.03982, allocations: 0.9781 MB / 400.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.03983, allocations: 4 kB / 400.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001656/0.04149, allocations: 0.907 MB / 401.4 MB, free: 9.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.04152, allocations: 16.97 kB / 401.4 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.04155, allocations: 20 kB / 401.4 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.805e-05/0.0416, allocations: 27.98 kB / 401.4 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/0.04224, allocations: 183.6 kB / 401.6 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.016e-05/0.04228, allocations: 39.86 kB / 401.6 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.04283, allocations: 111.2 kB / 401.8 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.04289, allocations: 51.94 kB / 401.8 MB, free: 9.262 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.0004894/0.04338, allocations: 356.1 kB / 402.2 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/0.04348, allocations: 63.55 kB / 402.2 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.04358, allocations: 56.8 kB / 402.3 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.04358, allocations: 4 kB / 402.3 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.04359, allocations: 3.984 kB / 402.3 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.04359, allocations: 0 / 402.3 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.04406, allocations: 341 kB / 402.6 MB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.04406, allocations: 4 kB / 402.6 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/0.04416, allocations: 15.92 kB / 402.6 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.04417, allocations: 0 / 402.6 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.04418, allocations: 4 kB / 402.6 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.04418, allocations: 0 / 402.6 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.04418, allocations: 0 / 402.6 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.04461, allocations: 267 kB / 402.9 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.04471, allocations: 51.62 kB / 402.9 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.04476, allocations: 3.984 kB / 402.9 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.04495, allocations: 4 kB / 403 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.04502, allocations: 7.984 kB / 403 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.04503, allocations: 3.984 kB / 403 MB, free: 8.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006639/0.04569, allocations: 483 kB / 403.4 MB, free: 7.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04569, allocations: 0 / 403.4 MB, free: 7.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007323/0.04643, allocations: 147.7 kB / 403.6 MB, free: 7.418 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.0001952/0.04662, allocations: 103.2 kB / 403.7 MB, free: 7.309 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008686/0.04749, allocations: 408.5 kB / 404.1 MB, free: 6.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.04749, allocations: 0 / 404.1 MB, free: 6.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.04762, allocations: 55.88 kB / 404.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.04821, allocations: 87.95 kB / 404.2 MB, free: 6.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.05031, allocations: 1.074 MB / 405.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.05083, allocations: 389.5 kB / 405.7 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004854/0.05131, allocations: 196.5 kB / 405.9 MB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/0.0514, allocations: 40.5 kB / 405.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0514, allocations: 0 / 405.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of Templates: time 0.01006/0.06146, allocations: 4.009 MB / 409.9 MB, free: 1.113 MB / 378.7 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/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_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: 4.966402526944876]