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.002573/0.002573, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002856/0.002856, allocations: 160.8 kB / 24.27 MB, free: 156 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.626/1.626, 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.3478/0.3478, allocations: 34.26 MB / 295.2 MB, free: 0.6289 MB / 266.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.383e-06/1.383e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.818e-05, allocations: 2.312 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008924/0.008953, allocations: 6.053 MB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.01299, allocations: 1.939 MB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004955/0.01349, allocations: 27.94 kB / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.01513, allocations: 0.6501 MB / 385.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000465/0.0156, allocations: 210.6 kB / 386.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.01584, allocations: 63.78 kB / 386.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008246/0.01666, allocations: 429.9 kB / 386.5 MB, free: 9.527 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006496/0.01731, allocations: 435 kB / 387 MB, free: 9.102 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005185/0.01783, allocations: 319.1 kB / 387.3 MB, free: 8.789 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004649/0.0183, allocations: 259.3 kB / 387.5 MB, free: 8.535 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/0.01838, allocations: 40 kB / 387.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.0186, allocations: 91.81 kB / 387.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.01892, allocations: 271.2 kB / 387.9 MB, free: 8.141 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.01916, allocations: 183.3 kB / 388.1 MB, free: 7.961 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.02018, allocations: 0.8096 MB / 388.9 MB, free: 7.148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.02019, allocations: 0 / 388.9 MB, free: 7.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02019, allocations: 4 kB / 388.9 MB, free: 7.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.0202, allocations: 0 / 388.9 MB, free: 7.145 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.001729/0.02193, allocations: 1.044 MB / 390 MB, free: 6.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.02198, allocations: 12.03 kB / 390 MB, free: 6.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008866/0.02286, allocations: 200.3 kB / 390.2 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007385/0.0236, allocations: 390.1 kB / 390.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.02364, allocations: 29.36 kB / 390.6 MB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.02371, allocations: 40.36 kB / 390.6 MB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.02497, allocations: 0.7962 MB / 391.4 MB, free: 4.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.02499, allocations: 7.875 kB / 391.4 MB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.02504, allocations: 19.98 kB / 391.4 MB, free: 4.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003873/0.02543, allocations: 196.4 kB / 391.6 MB, free: 4.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.02618, allocations: 329.9 kB / 392 MB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006018/0.0322, allocations: 6.058 MB / 398 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.03235, allocations: 59.03 kB / 398.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.03245, allocations: 43.67 kB / 398.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.03247, allocations: 0 / 398.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.0325, allocations: 33.39 kB / 398.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.03251, allocations: 4 kB / 398.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004919/0.033, allocations: 185.2 kB / 398.3 MB, free: 13.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.03305, allocations: 51.41 kB / 398.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.03422, allocations: 0.8973 MB / 399.3 MB, free: 12.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.03424, allocations: 25.7 kB / 399.3 MB, free: 12.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/0.03479, allocations: 0.6031 MB / 399.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.03483, allocations: 31.86 kB / 399.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.03512, allocations: 216.1 kB / 400.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006055/0.03572, allocations: 0.5898 MB / 400.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.03594, allocations: 97.84 kB / 400.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000991/0.03693, allocations: 0.9267 MB / 401.8 MB, free: 9.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.03832, allocations: 1.096 MB / 402.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.03833, allocations: 8 kB / 402.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0013/0.03963, allocations: 0.7278 MB / 403.6 MB, free: 7.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.03966, allocations: 16 kB / 403.6 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.03968, allocations: 23.94 kB / 403.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.179e-05/0.03973, allocations: 24 kB / 403.7 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.04023, allocations: 171.7 kB / 403.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-05/0.04027, allocations: 40.45 kB / 403.9 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/0.04081, allocations: 119.2 kB / 404 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.11e-05/0.04088, allocations: 55.94 kB / 404 MB, free: 6.715 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.0003384/0.04122, allocations: 254.7 kB / 404.3 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.04132, allocations: 55.62 kB / 404.3 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.04146, allocations: 48.8 kB / 404.4 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.04146, allocations: 0 / 404.4 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.04147, allocations: 4 kB / 404.4 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.04147, allocations: 0 / 404.4 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007437/0.04222, allocations: 0.5004 MB / 404.9 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.04222, allocations: 0 / 404.9 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/0.04231, allocations: 11.98 kB / 404.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.04232, allocations: 4 kB / 404.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.04233, allocations: 0 / 404.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.04233, allocations: 0 / 404.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.04233, allocations: 0 / 404.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.04274, allocations: 303.4 kB / 405.2 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.04285, allocations: 51.62 kB / 405.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.04291, allocations: 0 / 405.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.04309, allocations: 11.98 kB / 405.3 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.04315, allocations: 7.984 kB / 405.3 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.04316, allocations: 7.984 kB / 405.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006072/0.04377, allocations: 459 kB / 405.7 MB, free: 4.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04377, allocations: 0 / 405.7 MB, free: 4.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006951/0.04446, allocations: 151.6 kB / 405.9 MB, free: 4.801 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.0001623/0.04463, allocations: 95.48 kB / 406 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007462/0.04537, allocations: 369.4 kB / 406.3 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.04538, allocations: 1.938 kB / 406.3 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.0455, allocations: 55.56 kB / 406.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.04604, allocations: 90.73 kB / 406.5 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.04812, allocations: 0.9619 MB / 407.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.0486, allocations: 361.4 kB / 407.8 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004462/0.04904, allocations: 176.6 kB / 408 MB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.04915, allocations: 44.48 kB / 408 MB, free: 2.605 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.04915, allocations: 0 / 408 MB, free: 2.605 MB / 378.7 MB Notification: Performance of Templates: time 0.01078/0.05992, allocations: 3.975 MB / 412 MB, free: 14.72 MB / 394.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","/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: 5.067602570983581]