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.0009176/0.0009176, 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.000949/0.000949, 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.9268/0.9268, allocations: 177 MB / 205.2 MB, free: 5.027 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.2775/0.2775, allocations: 34.86 MB / 296.6 MB, free: 496 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.162e-06/1.162e-06, allocations: 0 / 325.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.526e-05, allocations: 3.516 kB / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00487/0.004885, allocations: 5.975 MB / 331.9 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.007964, allocations: 1.999 MB / 333.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.008301, allocations: 31.94 kB / 333.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008817/0.009183, allocations: 0.6462 MB / 334.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.009508, allocations: 214.6 kB / 334.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.009689, allocations: 59.81 kB / 334.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.01005, allocations: 429.9 kB / 335.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004/0.01045, allocations: 452.9 kB / 335.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.01074, allocations: 311.2 kB / 336 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.01103, allocations: 255.2 kB / 336.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.01107, allocations: 40 kB / 336.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.0112, allocations: 79.89 kB / 336.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.01141, allocations: 279.2 kB / 336.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.01155, allocations: 175.4 kB / 336.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.01208, allocations: 0.5446 MB / 337.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01208, allocations: 4 kB / 337.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01208, allocations: 0 / 337.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.01209, allocations: 0 / 337.3 MB, free: 11.69 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.0008264/0.01292, allocations: 0.8426 MB / 338.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.01295, allocations: 12.03 kB / 338.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.01335, allocations: 144.7 kB / 338.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.01365, allocations: 327.5 kB / 338.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.01367, allocations: 33.36 kB / 338.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.01371, allocations: 40.36 kB / 338.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.01422, allocations: 0.6373 MB / 339.4 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.01424, allocations: 11.88 kB / 339.4 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.01427, allocations: 19.97 kB / 339.4 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/0.01445, allocations: 176.5 kB / 339.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.01474, allocations: 238.8 kB / 339.8 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.01682, allocations: 3.891 MB / 343.7 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.01685, allocations: 18.58 kB / 343.7 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.01687, allocations: 12.8 kB / 343.7 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.01688, allocations: 0 / 343.7 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.0169, allocations: 30.56 kB / 343.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.0169, allocations: 0 / 343.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001304/0.01703, allocations: 65.75 kB / 343.8 MB, free: 4.871 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.01706, allocations: 51.41 kB / 343.9 MB, free: 4.809 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.01744, allocations: 0.6087 MB / 344.5 MB, free: 4.188 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.01745, allocations: 29.7 kB / 344.5 MB, free: 4.152 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.01765, allocations: 487.7 kB / 345 MB, free: 3.672 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.01766, allocations: 23.94 kB / 345 MB, free: 3.648 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.01778, allocations: 170.4 kB / 345.2 MB, free: 3.477 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01789, allocations: 374.6 kB / 345.5 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.01794, allocations: 53.91 kB / 345.6 MB, free: 3.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.01826, allocations: 0.6062 MB / 346.2 MB, free: 2.156 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.01875, allocations: 0.7778 MB / 347 MB, free: 1.094 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.01876, allocations: 12 kB / 347 MB, free: 1.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004881/0.01925, allocations: 0.5364 MB / 347.5 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.01927, allocations: 20.91 kB / 347.5 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.01929, allocations: 20 kB / 347.6 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.01931, allocations: 28 kB / 347.6 MB, free: 484 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.01956, allocations: 175.7 kB / 347.8 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.01958, allocations: 43.78 kB / 347.8 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.01983, allocations: 107.2 kB / 347.9 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.01986, allocations: 44 kB / 347.9 MB, free: 112 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.000151/0.02001, allocations: 206.8 kB / 348.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.02004, allocations: 23.97 kB / 348.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.02009, allocations: 52.8 kB / 348.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.02009, allocations: 4 kB / 348.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.0201, allocations: 0 / 348.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.0201, allocations: 0 / 348.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.02029, allocations: 209.5 kB / 348.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.0203, allocations: 0 / 348.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.02032, allocations: 11.98 kB / 348.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.02033, allocations: 0 / 348.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.02033, allocations: 0 / 348.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.02033, allocations: 0 / 348.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.02033, allocations: 4 kB / 348.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.665e-05/0.02043, allocations: 163.4 kB / 348.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.02047, allocations: 47.62 kB / 348.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.0205, allocations: 7.984 kB / 348.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.02057, allocations: 4 kB / 348.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.0206, allocations: 7.984 kB / 348.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.0206, allocations: 0 / 348.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.02077, allocations: 240.6 kB / 348.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02077, allocations: 0 / 348.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.02114, allocations: 151.6 kB / 349.1 MB, free: 14.95 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 8.977e-05/0.02123, allocations: 80.41 kB / 349.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.02146, allocations: 256.1 kB / 349.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.999e-05/0.02148, allocations: 13.81 kB / 349.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.0215, allocations: 24.77 kB / 349.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.02174, allocations: 83.48 kB / 349.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.02279, allocations: 0.9635 MB / 350.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.0229, allocations: 197.2 kB / 350.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000134/0.02304, allocations: 68.83 kB / 350.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.02316, allocations: 119.3 kB / 350.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02316, allocations: 0 / 350.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of Templates: time 0.006351/0.02951, allocations: 4.203 MB / 355 MB, free: 8.984 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: 2.8214241177774966]