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.001597/0.001597, allocations: 86.59 kB / 21.43 MB, free: 3.066 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.00179/0.00179, allocations: 167 kB / 24.82 MB, free: 8.367 MB / 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 0.9557/0.9557, allocations: 177 MB / 205.1 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] 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.1364/0.1364, allocations: 34.88 MB / 296.6 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 180] 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 1.854e-06/1.854e-06, allocations: 0 / 379.2 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.624e-05, allocations: 3.438 kB / 379.2 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.004421/0.004437, allocations: 5.964 MB / 385.2 MB, free: 16.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.00653, allocations: 1.917 MB / 387.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.006789, allocations: 31.88 kB / 387.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008721/0.007661, allocations: 0.654 MB / 387.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.007922, allocations: 214.6 kB / 388 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.008079, allocations: 55.81 kB / 388 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.008365, allocations: 429.9 kB / 388.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.00874, allocations: 435 kB / 388.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.009042, allocations: 311.2 kB / 389.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.009276, allocations: 263.3 kB / 389.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.009317, allocations: 36 kB / 389.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.009434, allocations: 91.81 kB / 389.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.009565, allocations: 271.2 kB / 389.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.009659, allocations: 187.3 kB / 390 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.009979, allocations: 0.5486 MB / 390.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.009981, allocations: 0 / 390.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.009983, allocations: 0 / 390.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.009988, allocations: 0 / 390.6 MB, free: 11.33 MB / 314.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.0007001/0.01069, allocations: 1.005 MB / 391.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.01072, allocations: 12.03 kB / 391.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.01109, allocations: 188.3 kB / 391.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.01134, allocations: 346.2 kB / 392.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.01136, allocations: 37.36 kB / 392.1 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.01139, allocations: 40.36 kB / 392.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.01181, allocations: 0.7187 MB / 392.9 MB, free: 8.781 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01183, allocations: 7.875 kB / 392.9 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.01185, allocations: 23.97 kB / 392.9 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.01199, allocations: 172.5 kB / 393.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.0122, allocations: 231.8 kB / 393.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.01379, allocations: 5.687 MB / 399 MB, free: 2.465 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/0.01383, allocations: 27.06 kB / 399 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.01384, allocations: 7.688 kB / 399 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.01385, allocations: 11.94 kB / 399.1 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.01387, allocations: 37.33 kB / 399.1 MB, free: 2.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.01387, allocations: 0 / 399.1 MB, free: 2.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001425/0.01401, allocations: 93.41 kB / 399.2 MB, free: 2.258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/0.01403, allocations: 59.39 kB / 399.2 MB, free: 2.188 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.0144, allocations: 0.7446 MB / 400 MB, free: 1.426 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.812e-06/0.0144, allocations: 25.7 kB / 400 MB, free: 1.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.01459, allocations: 0.5951 MB / 400.6 MB, free: 0.793 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.0146, allocations: 23.88 kB / 400.6 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.01471, allocations: 196 kB / 400.8 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.01482, allocations: 0.5626 MB / 401.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.01488, allocations: 53.88 kB / 401.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.01534, allocations: 0.872 MB / 402.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.01599, allocations: 1.033 MB / 403.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.016, allocations: 4 kB / 403.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0005808/0.01658, allocations: 0.6346 MB / 404 MB, free: 12.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.0166, allocations: 12 kB / 404 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.01662, allocations: 28.12 kB / 404 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.01664, allocations: 27.94 kB / 404 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.0169, allocations: 171.7 kB / 404.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.01692, allocations: 39.84 kB / 404.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.01717, allocations: 107.2 kB / 404.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.0172, allocations: 44 kB / 404.4 MB, free: 12.19 MB / 330.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.0001545/0.01736, allocations: 242.6 kB / 404.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.0174, allocations: 55.62 kB / 404.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.01747, allocations: 52.98 kB / 404.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01747, allocations: 0 / 404.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.01747, allocations: 3.984 kB / 404.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01747, allocations: 0 / 404.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.01773, allocations: 284.9 kB / 405 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01773, allocations: 0 / 405 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.01776, allocations: 19.92 kB / 405 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01776, allocations: 0 / 405 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.01777, allocations: 0 / 405 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01777, allocations: 3.984 kB / 405 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01777, allocations: 0 / 405 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.01793, allocations: 251.5 kB / 405.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.01798, allocations: 47.56 kB / 405.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.018, allocations: 0 / 405.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.01807, allocations: 7.984 kB / 405.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.0181, allocations: 4 kB / 405.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.01811, allocations: 3.984 kB / 405.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.01834, allocations: 374.9 kB / 405.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01834, allocations: 0 / 405.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003755/0.01871, allocations: 143.7 kB / 405.9 MB, free: 10.66 MB / 330.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 9.446e-05/0.01881, allocations: 103.2 kB / 406 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.01905, allocations: 274.5 kB / 406.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01906, allocations: 1 kB / 406.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.062e-05/0.01908, allocations: 19.62 kB / 406.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.01938, allocations: 93.3 kB / 406.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.02045, allocations: 0.958 MB / 407.3 MB, free: 9.188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.02057, allocations: 185.2 kB / 407.5 MB, free: 8.988 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.0207, allocations: 72.77 kB / 407.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.02082, allocations: 142.2 kB / 407.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02082, allocations: 4 kB / 407.7 MB, free: 8.77 MB / 330.7 MB Notification: Performance of Templates: time 0.007054/0.02788, allocations: 4.279 MB / 412 MB, free: 4.57 MB / 330.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] 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","",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.2573526790365577]