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.001545/0.001545, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001804/0.001804, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9926/0.9926, allocations: 177 MB / 205.2 MB, free: 5.035 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.2566/0.2566, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 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.432e-06/1.432e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.127e-05, allocations: 4.844 kB / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008656/0.008677, allocations: 6.02 MB / 332 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006409/0.01509, allocations: 1.995 MB / 334 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004186/0.0155, allocations: 31.88 kB / 334 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.01664, allocations: 0.6344 MB / 334.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.01704, allocations: 214.6 kB / 334.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.02025, allocations: 55.81 kB / 334.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.02067, allocations: 429.9 kB / 335.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004903/0.02116, allocations: 464.9 kB / 335.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.0215, allocations: 311.1 kB / 336.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.02183, allocations: 243.3 kB / 336.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.02188, allocations: 40 kB / 336.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.02204, allocations: 87.88 kB / 336.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.02226, allocations: 275.2 kB / 336.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.02241, allocations: 179.4 kB / 336.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.02296, allocations: 0.5446 MB / 337.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.02296, allocations: 8 kB / 337.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.02297, allocations: 0 / 337.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.02297, allocations: 0 / 337.4 MB, free: 11.59 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.003985/0.02696, allocations: 0.8348 MB / 338.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.02699, allocations: 8.031 kB / 338.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/0.02757, allocations: 148.7 kB / 338.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.02796, allocations: 327.5 kB / 338.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.02799, allocations: 33.36 kB / 338.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.02804, allocations: 40.36 kB / 338.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.0287, allocations: 0.6333 MB / 339.4 MB, free: 9.414 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.02872, allocations: 11.88 kB / 339.4 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.02876, allocations: 19.98 kB / 339.5 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/0.02898, allocations: 176.5 kB / 339.6 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003364/0.03235, allocations: 238.8 kB / 339.9 MB, free: 8.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.03472, allocations: 3.891 MB / 343.8 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.078e-05/0.03476, allocations: 18.56 kB / 343.8 MB, free: 4.906 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.03478, allocations: 8.859 kB / 343.8 MB, free: 4.895 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.03479, allocations: 4 kB / 343.8 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.03482, allocations: 34.56 kB / 343.8 MB, free: 4.848 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.03482, allocations: 0 / 343.8 MB, free: 4.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001596/0.03498, allocations: 65.69 kB / 343.9 MB, free: 4.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003041/0.03802, allocations: 51.41 kB / 343.9 MB, free: 4.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.03855, allocations: 0.6087 MB / 344.5 MB, free: 4.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.03856, allocations: 29.64 kB / 344.6 MB, free: 4.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.0388, allocations: 487.7 kB / 345.1 MB, free: 3.578 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.03882, allocations: 19.94 kB / 345.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.03898, allocations: 174.4 kB / 345.2 MB, free: 3.383 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.03909, allocations: 370.6 kB / 345.6 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.07e-05/0.03916, allocations: 53.95 kB / 345.7 MB, free: 2.957 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.03953, allocations: 0.614 MB / 346.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.0401, allocations: 0.7778 MB / 347 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.04011, allocations: 4 kB / 347.1 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007704/0.04088, allocations: 0.5526 MB / 347.6 MB, free: 444 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.04091, allocations: 13.41 kB / 347.6 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.04092, allocations: 20 kB / 347.6 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/0.04297, allocations: 28 kB / 347.7 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.04334, allocations: 183.6 kB / 347.8 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/0.04337, allocations: 35.86 kB / 347.9 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.04374, allocations: 107.2 kB / 348 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.04378, allocations: 44.34 kB / 348 MB, free: 12 kB / 314.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.0001892/0.04397, allocations: 202.7 kB / 348.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.04402, allocations: 23.97 kB / 348.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.04408, allocations: 48.8 kB / 348.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.04408, allocations: 4.188 kB / 348.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.04408, allocations: 0 / 348.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.04409, allocations: 7.969 kB / 348.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.04433, allocations: 205.6 kB / 348.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.04434, allocations: 4 kB / 348.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.04438, allocations: 19.92 kB / 348.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.04438, allocations: 0 / 348.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.04439, allocations: 0 / 348.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.04439, allocations: 0 / 348.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.04439, allocations: 0 / 348.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.04452, allocations: 159.5 kB / 348.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.04457, allocations: 47.61 kB / 348.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.04461, allocations: 4 kB / 348.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.04472, allocations: 4 kB / 348.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.04475, allocations: 3.984 kB / 348.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.04475, allocations: 4 kB / 348.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.04497, allocations: 252.5 kB / 349 MB, free: 14.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04497, allocations: 0 / 349 MB, free: 14.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005321/0.04551, allocations: 147.6 kB / 349.1 MB, free: 14.85 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 0.0001084/0.04561, allocations: 76.36 kB / 349.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005321/0.05094, allocations: 267.9 kB / 349.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.799e-05/0.05096, allocations: 13.81 kB / 349.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.407e-05/0.05099, allocations: 12.86 kB / 349.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.05134, allocations: 84.67 kB / 349.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.0527, allocations: 0.9699 MB / 350.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.05286, allocations: 193.2 kB / 350.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.05304, allocations: 68.84 kB / 350.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.05318, allocations: 115.3 kB / 350.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.05319, allocations: 4 kB / 350.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of Templates: time 0.01537/0.06855, allocations: 4.199 MB / 355.1 MB, free: 8.891 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 -s gbode -gbm=radauIIA3 -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: 2.851017410866916]