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.001693/0.001693, allocations: 120.9 kB / 19.13 MB, free: 3.902 MB / 14.72 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.002112/0.002112, allocations: 210.6 kB / 22.08 MB, free: 0.9531 MB / 14.72 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.633/1.633, allocations: 227.4 MB / 252.3 MB, free: 52 kB / 190.1 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.2325/0.2325, allocations: 46.16 MB / 351.8 MB, free: 14.37 MB / 286.1 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 0.002293/0.002293, allocations: 84.22 kB / 490.8 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1152, allocations: 62.45 MB / 0.5403 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008189/0.1235, allocations: 6.246 MB / 0.5464 GB, free: 14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003924/0.1274, allocations: 1.978 MB / 0.5484 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005782/0.128, allocations: 27.94 kB / 0.5484 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.1296, allocations: 0.619 MB / 0.549 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005413/0.1301, allocations: 186.9 kB / 0.5492 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.1304, allocations: 63.8 kB / 0.5492 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005723/0.131, allocations: 414.2 kB / 0.5496 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007396/0.1317, allocations: 0.5104 MB / 0.5501 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003955/0.1321, allocations: 223.1 kB / 0.5503 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/0.1326, allocations: 282.8 kB / 0.5506 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.533e-05/0.1327, allocations: 40 kB / 0.5506 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.1329, allocations: 83.89 kB / 0.5507 GB, free: 9.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.1332, allocations: 255.3 kB / 0.551 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.1335, allocations: 322 kB / 0.5513 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.1346, allocations: 0.8204 MB / 0.5521 GB, free: 8.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1346, allocations: 8 kB / 0.5521 GB, free: 8.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1346, allocations: 0 / 0.5521 GB, free: 8.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1346, allocations: 0 / 0.5521 GB, free: 8.176 MB / 414.1 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.001591/0.1362, allocations: 0.961 MB / 0.553 GB, free: 7.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1363, allocations: 12.03 kB / 0.553 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007858/0.1371, allocations: 160.2 kB / 0.5532 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000646/0.1377, allocations: 446 kB / 0.5536 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.1378, allocations: 29.36 kB / 0.5536 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/0.1378, allocations: 48.11 kB / 0.5537 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.1393, allocations: 1.082 MB / 0.5547 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1393, allocations: 3.938 kB / 0.5547 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.1394, allocations: 23.98 kB / 0.5548 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003495/0.1398, allocations: 192.3 kB / 0.5549 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.1409, allocations: 0.7123 MB / 0.5556 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004533/0.1455, allocations: 4.647 MB / 0.5602 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1457, allocations: 70.45 kB / 0.5602 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1458, allocations: 48.91 kB / 0.5603 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.1459, allocations: 0 / 0.5603 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.1459, allocations: 30.56 kB / 0.5603 GB, free: 15.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.1459, allocations: 0 / 0.5603 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005723/0.1465, allocations: 221.1 kB / 0.5605 GB, free: 15.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1465, allocations: 51.41 kB / 0.5606 GB, free: 15.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.1476, allocations: 0.8244 MB / 0.5614 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1476, allocations: 25.7 kB / 0.5614 GB, free: 14.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.1481, allocations: 0.5179 MB / 0.5619 GB, free: 13.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.1481, allocations: 31.81 kB / 0.5619 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.1483, allocations: 170.5 kB / 0.5621 GB, free: 13.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.1486, allocations: 382.8 kB / 0.5625 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.1489, allocations: 177.8 kB / 0.5626 GB, free: 12.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/0.1497, allocations: 0.7312 MB / 0.5634 GB, free: 11.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.151, allocations: 0.9781 MB / 0.5643 GB, free: 10.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.151, allocations: 15.94 kB / 0.5643 GB, free: 10.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001524/0.1525, allocations: 0.8684 MB / 0.5652 GB, free: 9.727 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.1526, allocations: 16 kB / 0.5652 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.1526, allocations: 20 kB / 0.5652 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/0.1527, allocations: 27.94 kB / 0.5652 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.1532, allocations: 176.3 kB / 0.5654 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-05/0.1532, allocations: 47.84 kB / 0.5654 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/0.1538, allocations: 119.1 kB / 0.5656 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.1539, allocations: 48 kB / 0.5656 GB, free: 9.281 MB / 430.1 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.0004624/0.1544, allocations: 363.6 kB / 0.566 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-05/0.1545, allocations: 63.58 kB / 0.566 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.1546, allocations: 61.28 kB / 0.5661 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1546, allocations: 7.938 kB / 0.5661 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1546, allocations: 0 / 0.5661 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1546, allocations: 0 / 0.5661 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006227/0.1552, allocations: 0.4974 MB / 0.5666 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1552, allocations: 0 / 0.5666 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.1553, allocations: 11.98 kB / 0.5666 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1554, allocations: 7.938 kB / 0.5666 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1554, allocations: 0 / 0.5666 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.1554, allocations: 3.938 kB / 0.5666 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1554, allocations: 0 / 0.5666 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.1558, allocations: 271 kB / 0.5668 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.156, allocations: 136.7 kB / 0.567 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.156, allocations: 4 kB / 0.567 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.1562, allocations: 11.92 kB / 0.567 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.1563, allocations: 11.92 kB / 0.567 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.1563, allocations: 0 / 0.567 GB, free: 7.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006816/0.157, allocations: 0.5341 MB / 0.5675 GB, free: 7.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.157, allocations: 0 / 0.5675 GB, free: 7.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006651/0.1577, allocations: 135.8 kB / 0.5677 GB, free: 7.078 MB / 430.1 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.0001553/0.1578, allocations: 95.25 kB / 0.5677 GB, free: 6.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007427/0.1586, allocations: 415.5 kB / 0.5681 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1586, allocations: 0 / 0.5681 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.1587, allocations: 47.94 kB / 0.5682 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.1593, allocations: 95.83 kB / 0.5683 GB, free: 6.441 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1611, allocations: 1.166 MB / 0.5694 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007109/0.1619, allocations: 0.9872 MB / 0.5704 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.162, allocations: 43.44 kB / 0.5704 GB, free: 4.184 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.162, allocations: 0 / 0.5704 GB, free: 4.184 MB / 430.1 MB Notification: Performance of Templates: time 0.01329/0.1753, allocations: 7.582 MB / 0.5778 GB, free: 12.62 MB / 446.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.214224210940301]