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.001091/0.001091, allocations: 115.6 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002052/0.002053, allocations: 208 kB / 19.41 MB, free: 3.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 71.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2919, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007096/0.299, allocations: 6.239 MB / 0.5377 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.3026, allocations: 1.97 MB / 0.5397 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004212/0.3031, allocations: 27.72 kB / 0.5397 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.3045, allocations: 0.6234 MB / 0.5403 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.3049, allocations: 195.7 kB / 0.5405 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.3051, allocations: 56.06 kB / 0.5405 GB, free: 6.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004875/0.3056, allocations: 415.4 kB / 0.5409 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/0.3063, allocations: 0.5074 MB / 0.5414 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.3066, allocations: 221.1 kB / 0.5416 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.307, allocations: 286 kB / 0.5419 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.3071, allocations: 38.81 kB / 0.5419 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.3073, allocations: 83.55 kB / 0.542 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.3075, allocations: 264.4 kB / 0.5423 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.3078, allocations: 316.8 kB / 0.5426 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008408/0.3086, allocations: 0.8202 MB / 0.5434 GB, free: 4.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3087, allocations: 1.062 kB / 0.5434 GB, free: 4.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3087, allocations: 0 / 0.5434 GB, free: 4.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3087, allocations: 0 / 0.5434 GB, free: 4.789 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.001462/0.3102, allocations: 0.9469 MB / 0.5443 GB, free: 4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3102, allocations: 8.188 kB / 0.5443 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007713/0.311, allocations: 153.4 kB / 0.5445 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.3116, allocations: 436.4 kB / 0.5449 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.3116, allocations: 37.78 kB / 0.5449 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.3117, allocations: 42.73 kB / 0.545 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.313, allocations: 1.087 MB / 0.546 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.313, allocations: 5.344 kB / 0.546 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.3131, allocations: 19.55 kB / 0.546 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003173/0.3134, allocations: 194.8 kB / 0.5462 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3145, allocations: 0.716 MB / 0.5469 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003694/0.3182, allocations: 4.646 MB / 0.5515 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.3183, allocations: 66.52 kB / 0.5515 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3185, allocations: 44.89 kB / 0.5516 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.3185, allocations: 7.938 kB / 0.5516 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.3185, allocations: 30.56 kB / 0.5516 GB, free: 12.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.3185, allocations: 4 kB / 0.5516 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004619/0.319, allocations: 212.7 kB / 0.5518 GB, free: 12.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.319, allocations: 59.34 kB / 0.5519 GB, free: 12.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/0.3199, allocations: 0.8124 MB / 0.5527 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3199, allocations: 25.7 kB / 0.5527 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.3203, allocations: 0.5044 MB / 0.5532 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.3203, allocations: 27.8 kB / 0.5532 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.3205, allocations: 174.4 kB / 0.5534 GB, free: 11.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3207, allocations: 370.8 kB / 0.5537 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.321, allocations: 181.9 kB / 0.5539 GB, free: 10.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.3216, allocations: 0.7389 MB / 0.5546 GB, free: 9.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/0.3225, allocations: 0.9782 MB / 0.5556 GB, free: 8.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.3226, allocations: 7.938 kB / 0.5556 GB, free: 8.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001239/0.3238, allocations: 0.8685 MB / 0.5564 GB, free: 7.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3238, allocations: 12 kB / 0.5564 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.3239, allocations: 24.16 kB / 0.5565 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/0.3239, allocations: 28 kB / 0.5565 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.3244, allocations: 183.5 kB / 0.5567 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-05/0.3244, allocations: 39.84 kB / 0.5567 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.3249, allocations: 118.8 kB / 0.5568 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/0.325, allocations: 48 kB / 0.5569 GB, free: 6.848 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.0003625/0.3254, allocations: 367.5 kB / 0.5572 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.3255, allocations: 59.16 kB / 0.5573 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.092e-05/0.3256, allocations: 61.28 kB / 0.5573 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3256, allocations: 3.938 kB / 0.5573 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3256, allocations: 4 kB / 0.5573 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.3257, allocations: 124.4 kB / 0.5575 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.3258, allocations: 8 kB / 0.5575 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.326, allocations: 11.92 kB / 0.5575 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.326, allocations: 7.984 kB / 0.5575 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003152/0.3264, allocations: 196.9 kB / 0.5577 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003509/0.3267, allocations: 354 kB / 0.558 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001092/0.3268, allocations: 51.88 kB / 0.5581 GB, free: 5.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006135/0.3275, allocations: 0.5302 MB / 0.5586 GB, free: 5.031 MB / 414.1 MB Notification: Performance of Backend: time 4.91e-07/0.3275, allocations: 0 / 0.5586 GB, free: 5.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009243/0.3284, allocations: 462.9 kB / 0.559 GB, free: 4.578 MB / 414.1 MB Notification: Performance of SimCode: time 0.001894/0.3303, allocations: 1.647 MB / 0.5606 GB, free: 2.887 MB / 414.1 MB Notification: Performance of Templates: time 0.01062/0.3409, allocations: 5.307 MB / 0.5658 GB, free: 13.62 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