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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001486/0.001486, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1955/0.1955, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 79.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2772, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006455/0.2837, allocations: 6.236 MB / 0.5377 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.287, allocations: 1.975 MB / 0.5397 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.2874, allocations: 27.16 kB / 0.5397 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.2886, allocations: 0.6208 MB / 0.5403 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.289, allocations: 205.2 kB / 0.5405 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.2892, allocations: 54.72 kB / 0.5405 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.2897, allocations: 420.6 kB / 0.5409 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000574/0.2903, allocations: 0.5037 MB / 0.5414 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.2906, allocations: 220.7 kB / 0.5416 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.2909, allocations: 287 kB / 0.5419 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-05/0.291, allocations: 37.75 kB / 0.542 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.2912, allocations: 91.34 kB / 0.542 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.2915, allocations: 261.2 kB / 0.5423 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.2918, allocations: 316.5 kB / 0.5426 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000817/0.2926, allocations: 0.8245 MB / 0.5434 GB, free: 4.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2927, allocations: 0 / 0.5434 GB, free: 4.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2927, allocations: 1.062 kB / 0.5434 GB, free: 4.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.2927, allocations: 0 / 0.5434 GB, free: 4.762 MB / 398.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.001548/0.2942, allocations: 0.9343 MB / 0.5443 GB, free: 3.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2943, allocations: 13.31 kB / 0.5443 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007396/0.295, allocations: 153.9 kB / 0.5445 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.2956, allocations: 448.4 kB / 0.5449 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.2957, allocations: 34.14 kB / 0.5449 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.2957, allocations: 45.83 kB / 0.545 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.297, allocations: 1.083 MB / 0.546 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.297, allocations: 6.219 kB / 0.546 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.2971, allocations: 18.7 kB / 0.5461 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002929/0.2974, allocations: 198.1 kB / 0.5462 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.2984, allocations: 0.7083 MB / 0.5469 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.3019, allocations: 4.649 MB / 0.5515 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3021, allocations: 62.47 kB / 0.5515 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3022, allocations: 48.91 kB / 0.5516 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3022, allocations: 0 / 0.5516 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.3022, allocations: 30.56 kB / 0.5516 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.3022, allocations: 0 / 0.5516 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004757/0.3027, allocations: 216.7 kB / 0.5518 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3028, allocations: 51.41 kB / 0.5519 GB, free: 12.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008505/0.3036, allocations: 0.8241 MB / 0.5527 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.3037, allocations: 29.64 kB / 0.5527 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.304, allocations: 0.5005 MB / 0.5532 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.304, allocations: 23.8 kB / 0.5532 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.3042, allocations: 174.4 kB / 0.5534 GB, free: 10.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3043, allocations: 378.8 kB / 0.5537 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.3046, allocations: 173.9 kB / 0.5539 GB, free: 10.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005724/0.3052, allocations: 0.7312 MB / 0.5546 GB, free: 9.418 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009115/0.3061, allocations: 0.982 MB / 0.5556 GB, free: 8.152 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.3061, allocations: 8 kB / 0.5556 GB, free: 8.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001192/0.3073, allocations: 0.8638 MB / 0.5564 GB, free: 7.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3074, allocations: 23.27 kB / 0.5564 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.3074, allocations: 24 kB / 0.5565 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.623e-05/0.3074, allocations: 31.94 kB / 0.5565 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.3079, allocations: 175.6 kB / 0.5567 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/0.3079, allocations: 39.86 kB / 0.5567 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.3084, allocations: 118.8 kB / 0.5568 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.3085, allocations: 48 kB / 0.5569 GB, free: 6.824 MB / 414.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.0003635/0.3088, allocations: 359.4 kB / 0.5572 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.82e-05/0.3089, allocations: 71.34 kB / 0.5573 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/0.309, allocations: 61.27 kB / 0.5573 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.309, allocations: 7.922 kB / 0.5573 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.309, allocations: 0 / 0.5573 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.309, allocations: 0 / 0.5573 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.3095, allocations: 0.4934 MB / 0.5578 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3095, allocations: 4 kB / 0.5578 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.263e-05/0.3096, allocations: 11.98 kB / 0.5578 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.3096, allocations: 7.938 kB / 0.5578 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3096, allocations: 3.984 kB / 0.5579 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3097, allocations: 7.938 kB / 0.5579 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3097, allocations: 0 / 0.5579 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.31, allocations: 262.7 kB / 0.5581 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/0.3101, allocations: 128.4 kB / 0.5582 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.3101, allocations: 0 / 0.5582 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.3104, allocations: 15.92 kB / 0.5582 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.3104, allocations: 15.92 kB / 0.5583 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.3104, allocations: 0 / 0.5583 GB, free: 5.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005467/0.311, allocations: 0.5302 MB / 0.5588 GB, free: 4.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.311, allocations: 0 / 0.5588 GB, free: 4.758 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005974/0.3116, allocations: 135.7 kB / 0.5589 GB, free: 4.625 MB / 414.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.0001347/0.3117, allocations: 99.23 kB / 0.559 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006192/0.3123, allocations: 412.5 kB / 0.5594 GB, free: 4.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3124, allocations: 8 kB / 0.5594 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3125, allocations: 39.95 kB / 0.5594 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.313, allocations: 96.31 kB / 0.5595 GB, free: 3.988 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3146, allocations: 1.151 MB / 0.5607 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.3151, allocations: 0.9911 MB / 0.5616 GB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.3152, allocations: 43.42 kB / 0.5617 GB, free: 1.742 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3152, allocations: 3.938 kB / 0.5617 GB, free: 1.738 MB / 414.1 MB Notification: Performance of Templates: time 0.009741/0.3249, allocations: 7.569 MB / 0.5691 GB, free: 10.19 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches