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.0008541/0.0008541, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004385/0.004385, allocations: 164 kB / 24.7 MB, free: 8.891 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 0.8696/0.8696, allocations: 177.1 MB / 205 MB, free: 5.746 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.2099/0.2099, allocations: 34.26 MB / 295.7 MB, free: 0.7031 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 2.043e-06/2.043e-06, allocations: 4 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.04e-05, allocations: 8.188 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.1642/0.1642, allocations: 5.612 MB / 449 MB, free: 41.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.166, allocations: 1.876 MB / 450.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.1662, allocations: 26.62 kB / 450.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000741/0.167, allocations: 0.6216 MB / 451.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.1672, allocations: 207.8 kB / 451.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.1674, allocations: 58.62 kB / 451.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.1676, allocations: 434.8 kB / 452.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.1679, allocations: 424.8 kB / 452.7 MB, free: 39.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.1682, allocations: 311 kB / 453 MB, free: 39.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1684, allocations: 265.5 kB / 453.2 MB, free: 39.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1684, allocations: 37.22 kB / 453.3 MB, free: 39.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1685, allocations: 88.11 kB / 453.3 MB, free: 39.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1687, allocations: 272.6 kB / 453.6 MB, free: 39.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.1688, allocations: 181.4 kB / 453.8 MB, free: 39.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.1692, allocations: 0.8053 MB / 454.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1692, allocations: 2.75 kB / 454.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1692, allocations: 3.938 kB / 454.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1692, allocations: 0 / 454.6 MB, free: 38.95 MB / 410.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.0007955/0.17, allocations: 0.8849 MB / 455.5 MB, free: 38.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.17, allocations: 10.88 kB / 455.5 MB, free: 38.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.1704, allocations: 150.5 kB / 455.6 MB, free: 38.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.1707, allocations: 392.9 kB / 456 MB, free: 38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1708, allocations: 30.95 kB / 456.1 MB, free: 37.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.1708, allocations: 45.64 kB / 456.1 MB, free: 37.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.1714, allocations: 1.085 MB / 457.2 MB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1715, allocations: 9.828 kB / 457.2 MB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.1715, allocations: 25.17 kB / 457.2 MB, free: 37.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/0.1717, allocations: 193.2 kB / 457.4 MB, free: 37.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.1722, allocations: 0.7106 MB / 458.1 MB, free: 37.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.1738, allocations: 4.308 MB / 462.4 MB, free: 33.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.188e-05/0.1738, allocations: 62.23 kB / 462.5 MB, free: 33.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.1739, allocations: 45.02 kB / 462.5 MB, free: 33.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.1739, allocations: 0 / 462.5 MB, free: 33.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.1739, allocations: 37.81 kB / 462.6 MB, free: 33.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1739, allocations: 0 / 462.6 MB, free: 33.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.000271/0.1742, allocations: 208.9 kB / 462.8 MB, free: 33.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.1742, allocations: 51.41 kB / 462.8 MB, free: 33.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.1746, allocations: 0.7662 MB / 463.6 MB, free: 32.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.1747, allocations: 25.7 kB / 463.6 MB, free: 32.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.1748, allocations: 0.5269 MB / 464.1 MB, free: 32.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.1748, allocations: 17.33 kB / 464.2 MB, free: 32.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/0.1749, allocations: 176.4 kB / 464.3 MB, free: 32.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.1749, allocations: 377.4 kB / 464.7 MB, free: 31.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1751, allocations: 180.5 kB / 464.9 MB, free: 31.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.1754, allocations: 0.7338 MB / 465.6 MB, free: 31.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.1758, allocations: 0.9798 MB / 466.6 MB, free: 30.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1758, allocations: 6.281 kB / 466.6 MB, free: 30.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006512/0.1765, allocations: 0.8639 MB / 467.5 MB, free: 29.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1765, allocations: 15.09 kB / 467.5 MB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1765, allocations: 19.12 kB / 467.5 MB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.1765, allocations: 25.56 kB / 467.5 MB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.1768, allocations: 180.6 kB / 467.7 MB, free: 29.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.1768, allocations: 40.47 kB / 467.7 MB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.177, allocations: 116.9 kB / 467.8 MB, free: 29.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.1771, allocations: 46.34 kB / 467.9 MB, free: 29.68 MB / 410.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.0001831/0.1772, allocations: 365.2 kB / 468.2 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.1773, allocations: 54.06 kB / 468.3 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.1773, allocations: 64.17 kB / 468.4 MB, free: 29.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1773, allocations: 0 / 468.4 MB, free: 29.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1773, allocations: 0 / 468.4 MB, free: 29.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1773, allocations: 0 / 468.4 MB, free: 29.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1775, allocations: 347.9 kB / 468.7 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1775, allocations: 2.812 kB / 468.7 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.1776, allocations: 12.88 kB / 468.7 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1776, allocations: 2.969 kB / 468.7 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1776, allocations: 4 kB / 468.7 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1776, allocations: 0 / 468.7 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1776, allocations: 0 / 468.7 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.1778, allocations: 263.1 kB / 469 MB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.1778, allocations: 51.72 kB / 469 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.1778, allocations: 3.156 kB / 469 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.1779, allocations: 6.203 kB / 469 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1779, allocations: 8.469 kB / 469 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1779, allocations: 7.219 kB / 469.1 MB, free: 28.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002742/0.1782, allocations: 485.1 kB / 469.5 MB, free: 28.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1782, allocations: 0 / 469.5 MB, free: 28.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003612/0.1786, allocations: 150.5 kB / 469.7 MB, free: 28.73 MB / 410.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 8.851e-05/0.1787, allocations: 103.5 kB / 469.8 MB, free: 28.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.179, allocations: 403.5 kB / 470.2 MB, free: 28.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.179, allocations: 0 / 470.2 MB, free: 28.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.265e-05/0.179, allocations: 49.7 kB / 470.2 MB, free: 28.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.1794, allocations: 85.52 kB / 470.3 MB, free: 28.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008788/0.1802, allocations: 1.13 MB / 471.4 MB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.1804, allocations: 384.7 kB / 471.8 MB, free: 27.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.1805, allocations: 48.42 kB / 471.9 MB, free: 27.71 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1805, allocations: 0 / 471.9 MB, free: 27.71 MB / 410.7 MB Notification: Performance of Templates: time 0.005014/0.1855, allocations: 7.466 MB / 479.3 MB, free: 26.92 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.099630521610379]