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.001252/0.001252, allocations: 122.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 206 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 79.86 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3941, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007895/0.402, allocations: 6.24 MB / 0.5371 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.4063, allocations: 1.975 MB / 0.539 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.407, allocations: 27.47 kB / 0.539 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.4085, allocations: 0.624 MB / 0.5396 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.4091, allocations: 192.1 kB / 0.5398 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.4094, allocations: 58.75 kB / 0.5399 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005457/0.4099, allocations: 415.5 kB / 0.5403 GB, free: 6.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006751/0.4106, allocations: 0.5073 MB / 0.5408 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.411, allocations: 224.9 kB / 0.541 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000416/0.4114, allocations: 283.1 kB / 0.5412 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/0.4115, allocations: 37.16 kB / 0.5413 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.4117, allocations: 88.48 kB / 0.5414 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.4119, allocations: 256.9 kB / 0.5416 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.4122, allocations: 317 kB / 0.5419 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009391/0.4132, allocations: 0.8219 MB / 0.5427 GB, free: 4.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4132, allocations: 1.531 kB / 0.5427 GB, free: 4.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4132, allocations: 0 / 0.5427 GB, free: 4.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.4132, allocations: 4 kB / 0.5427 GB, free: 4.781 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.001484/0.4147, allocations: 0.9681 MB / 0.5437 GB, free: 3.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4148, allocations: 10.16 kB / 0.5437 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008024/0.4156, allocations: 154 kB / 0.5438 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000617/0.4162, allocations: 456.5 kB / 0.5442 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.4162, allocations: 30.36 kB / 0.5443 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.4163, allocations: 49.64 kB / 0.5443 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.4178, allocations: 1.079 MB / 0.5454 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.4178, allocations: 6.625 kB / 0.5454 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/0.4179, allocations: 22.33 kB / 0.5454 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00033/0.4182, allocations: 192.6 kB / 0.5456 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.4193, allocations: 0.7114 MB / 0.5463 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/0.4235, allocations: 4.651 MB / 0.5508 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.4237, allocations: 62.47 kB / 0.5509 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.4238, allocations: 48.91 kB / 0.5509 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.4238, allocations: 7.984 kB / 0.5509 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4239, allocations: 34.56 kB / 0.551 GB, free: 12.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.4239, allocations: 0 / 0.551 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005427/0.4244, allocations: 209.1 kB / 0.5512 GB, free: 12.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.4245, allocations: 59.39 kB / 0.5512 GB, free: 12.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009802/0.4255, allocations: 0.8165 MB / 0.552 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.4255, allocations: 29.64 kB / 0.5521 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.4259, allocations: 0.5218 MB / 0.5526 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.4259, allocations: 31.83 kB / 0.5526 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.4261, allocations: 178.4 kB / 0.5528 GB, free: 10.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4263, allocations: 370.8 kB / 0.5531 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.4266, allocations: 185.9 kB / 0.5533 GB, free: 10.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/0.4273, allocations: 0.7312 MB / 0.554 GB, free: 9.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.4284, allocations: 0.982 MB / 0.555 GB, free: 8.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.4284, allocations: 4 kB / 0.555 GB, free: 8.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001383/0.4298, allocations: 0.8686 MB / 0.5558 GB, free: 7.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.4298, allocations: 16 kB / 0.5558 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.4298, allocations: 20 kB / 0.5559 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.026e-05/0.4299, allocations: 28.12 kB / 0.5559 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.4304, allocations: 179.6 kB / 0.5561 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.154e-05/0.4304, allocations: 36.36 kB / 0.5561 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.431, allocations: 123.2 kB / 0.5562 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.4311, allocations: 48 kB / 0.5562 GB, free: 6.781 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.0004218/0.4315, allocations: 367.3 kB / 0.5566 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.4316, allocations: 63.58 kB / 0.5567 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.4317, allocations: 65.27 kB / 0.5567 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4317, allocations: 3.938 kB / 0.5567 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4317, allocations: 0 / 0.5567 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4317, allocations: 8 kB / 0.5567 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.4323, allocations: 0.4896 MB / 0.5572 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4323, allocations: 7.984 kB / 0.5572 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.4324, allocations: 11.98 kB / 0.5572 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4324, allocations: 0 / 0.5572 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4324, allocations: 3.938 kB / 0.5572 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4324, allocations: 3.938 kB / 0.5572 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4324, allocations: 0 / 0.5572 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.4328, allocations: 275 kB / 0.5575 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.433, allocations: 132.7 kB / 0.5576 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.433, allocations: 0 / 0.5576 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.4332, allocations: 11.94 kB / 0.5576 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.4333, allocations: 11.92 kB / 0.5577 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.4333, allocations: 3.984 kB / 0.5577 GB, free: 5.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006135/0.4339, allocations: 0.5341 MB / 0.5582 GB, free: 4.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4339, allocations: 4 kB / 0.5582 GB, free: 4.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006356/0.4346, allocations: 135.8 kB / 0.5583 GB, free: 4.566 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.0001548/0.4347, allocations: 91.25 kB / 0.5584 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006981/0.4355, allocations: 416 kB / 0.5588 GB, free: 4.066 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4355, allocations: 0 / 0.5588 GB, free: 4.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.4356, allocations: 43.95 kB / 0.5588 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.4361, allocations: 109.4 kB / 0.5589 GB, free: 3.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.4379, allocations: 1.098 MB / 0.56 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.4385, allocations: 0.9831 MB / 0.561 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004335/0.439, allocations: 208.8 kB / 0.5612 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.4391, allocations: 47.38 kB / 0.5612 GB, free: 1.535 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4391, allocations: 0 / 0.5612 GB, free: 1.535 MB / 414.1 MB Notification: Performance of Templates: time 0.009652/0.4487, allocations: 4.577 MB / 0.5657 GB, free: 12.99 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches