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.001234/0.001234, allocations: 82.66 kB / 21.42 MB, free: 3.07 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.001234/0.001234, allocations: 166.8 kB / 24.82 MB, free: 9.211 MB / 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.081/1.081, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.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.3414/0.3414, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.904e-06/1.904e-06, allocations: 0 / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.537e-05, allocations: 10.25 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01393/0.01395, allocations: 5.957 MB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006479/0.02043, allocations: 1.935 MB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/0.0238, allocations: 27.94 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.02501, allocations: 0.6462 MB / 387.1 MB, free: 9.809 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.0254, allocations: 210.7 kB / 387.3 MB, free: 9.602 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.02561, allocations: 55.81 kB / 387.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.02605, allocations: 433.9 kB / 387.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004941/0.02655, allocations: 431 kB / 388.2 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.02995, allocations: 319.1 kB / 388.5 MB, free: 8.387 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/0.03029, allocations: 263.3 kB / 388.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.03035, allocations: 36 kB / 388.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.03052, allocations: 83.88 kB / 388.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.03074, allocations: 275.2 kB / 389.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.03091, allocations: 179.4 kB / 389.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005747/0.03148, allocations: 0.5446 MB / 389.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.03148, allocations: 0 / 389.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.03149, allocations: 0 / 389.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.03149, allocations: 0 / 389.8 MB, free: 7.02 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.001126/0.03262, allocations: 1.013 MB / 390.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.03266, allocations: 12.03 kB / 390.9 MB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.03388, allocations: 176.3 kB / 391 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.0343, allocations: 358.1 kB / 391.4 MB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.03434, allocations: 41.36 kB / 391.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.03439, allocations: 36.36 kB / 391.5 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007498/0.03514, allocations: 0.7225 MB / 392.2 MB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.03515, allocations: 11.88 kB / 392.2 MB, free: 4.438 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.03519, allocations: 19.98 kB / 392.2 MB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/0.03542, allocations: 180.4 kB / 392.4 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.03577, allocations: 235 kB / 392.6 MB, free: 4.012 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.03853, allocations: 5.687 MB / 398.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.03858, allocations: 31 kB / 398.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.0386, allocations: 7.688 kB / 398.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.03862, allocations: 0 / 398.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.03865, allocations: 41.39 kB / 398.4 MB, free: 14.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.03865, allocations: 0 / 398.4 MB, free: 14.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.000186/0.03884, allocations: 97.41 kB / 398.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.03887, allocations: 55.39 kB / 398.5 MB, free: 13.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/0.03936, allocations: 0.7484 MB / 399.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.03937, allocations: 25.7 kB / 399.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.03968, allocations: 0.599 MB / 399.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.0397, allocations: 19.94 kB / 399.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.03985, allocations: 196 kB / 400.1 MB, free: 12.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.04003, allocations: 0.5624 MB / 400.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.04009, allocations: 49.94 kB / 400.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.04054, allocations: 0.872 MB / 401.6 MB, free: 10.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/0.04122, allocations: 1.033 MB / 402.6 MB, free: 8.918 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.04123, allocations: 8 kB / 402.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006107/0.04184, allocations: 0.6386 MB / 403.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.04187, allocations: 16.03 kB / 403.3 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.04189, allocations: 20 kB / 403.3 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.04191, allocations: 28 kB / 403.3 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.04218, allocations: 171.7 kB / 403.5 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.0422, allocations: 35.86 kB / 403.5 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.04246, allocations: 111.2 kB / 403.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.04249, allocations: 47.94 kB / 403.7 MB, free: 7.844 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 (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.0001717/0.04266, allocations: 250.8 kB / 403.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.04271, allocations: 55.62 kB / 404 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.222e-05/0.04277, allocations: 48.8 kB / 404 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.04277, allocations: 0 / 404 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.04278, allocations: 0 / 404 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.04278, allocations: 0 / 404 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.04303, allocations: 284.9 kB / 404.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.04303, allocations: 0 / 404.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.04307, allocations: 11.98 kB / 404.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.04307, allocations: 0 / 404.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.04307, allocations: 4 kB / 404.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.04308, allocations: 4 kB / 404.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.04308, allocations: 3.984 kB / 404.3 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.04323, allocations: 247.4 kB / 404.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.04327, allocations: 47.62 kB / 404.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.04329, allocations: 0 / 404.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.04337, allocations: 7.984 kB / 404.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.0434, allocations: 0 / 404.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.0434, allocations: 3.984 kB / 404.6 MB, free: 6.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002344/0.04364, allocations: 378.9 kB / 405 MB, free: 6.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04364, allocations: 0 / 405 MB, free: 6.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003766/0.04401, allocations: 147.6 kB / 405.2 MB, free: 6.32 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.0001175/0.04413, allocations: 103.2 kB / 405.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.04439, allocations: 282.9 kB / 405.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.0444, allocations: 0.5 kB / 405.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.379e-05/0.04442, allocations: 19.62 kB / 405.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.04475, allocations: 79.97 kB / 405.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.04598, allocations: 0.9464 MB / 406.6 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.04612, allocations: 189 kB / 406.8 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.04626, allocations: 72.83 kB / 406.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.0464, allocations: 142.2 kB / 407 MB, free: 4.445 MB / 378.7 MB Notification: Performance of SimCode: time 6.52e-07/0.0464, allocations: 0 / 407 MB, free: 4.445 MB / 378.7 MB Notification: Performance of Templates: time 0.007099/0.0535, allocations: 4.29 MB / 411.3 MB, free: 220 kB / 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=240 -emit_protected -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: 3.544784550089389]