Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 108.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 180.9 kB / 18.71 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4077, allocations: 60.81 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007007/0.4147, allocations: 6.356 MB / 0.5251 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004485/0.4193, allocations: 1.939 MB / 0.527 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007581/0.4201, allocations: 28.69 kB / 0.527 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.4216, allocations: 0.6083 MB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006353/0.4223, allocations: 223.9 kB / 0.5278 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.4226, allocations: 50.83 kB / 0.5279 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005627/0.4231, allocations: 462.5 kB / 0.5283 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006914/0.4238, allocations: 0.5143 MB / 0.5288 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.4242, allocations: 235 kB / 0.529 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.4246, allocations: 308.2 kB / 0.5293 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.305e-05/0.4247, allocations: 42.22 kB / 0.5294 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.4249, allocations: 78.88 kB / 0.5294 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003004/0.4252, allocations: 297 kB / 0.5297 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.4256, allocations: 343.6 kB / 0.5301 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.4266, allocations: 0.9183 MB / 0.5309 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.4266, allocations: 7.984 kB / 0.531 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4267, allocations: 1.156 kB / 0.531 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.4267, allocations: 0 / 0.531 GB, free: 11.45 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001667/0.4283, allocations: 0.9925 MB / 0.5319 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4284, allocations: 9.406 kB / 0.5319 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005881/0.429, allocations: 134 kB / 0.5321 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006624/0.4297, allocations: 456.4 kB / 0.5325 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.4297, allocations: 38.42 kB / 0.5325 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/0.4298, allocations: 49.75 kB / 0.5326 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.4315, allocations: 1.238 MB / 0.5338 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.4315, allocations: 6.125 kB / 0.5338 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.4316, allocations: 23.84 kB / 0.5338 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004429/0.432, allocations: 258 kB / 0.5341 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.4334, allocations: 0.7979 MB / 0.5348 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004538/0.438, allocations: 5.029 MB / 0.5398 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.4381, allocations: 66.81 kB / 0.5398 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.4383, allocations: 47.36 kB / 0.5399 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.4383, allocations: 5.312 kB / 0.5399 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.4383, allocations: 34.56 kB / 0.5399 GB, free: 4.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.4383, allocations: 1.094 kB / 0.5399 GB, free: 4.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005316/0.4389, allocations: 211.2 kB / 0.5401 GB, free: 4.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.4389, allocations: 52.62 kB / 0.5402 GB, free: 3.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.44, allocations: 0.8522 MB / 0.541 GB, free: 3.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.44, allocations: 29.64 kB / 0.541 GB, free: 3.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.4405, allocations: 0.5406 MB / 0.5415 GB, free: 2.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.4405, allocations: 23.02 kB / 0.5416 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.4408, allocations: 178.7 kB / 0.5417 GB, free: 2.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4409, allocations: 374 kB / 0.5421 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.4413, allocations: 183.8 kB / 0.5423 GB, free: 2.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/0.442, allocations: 0.7411 MB / 0.543 GB, free: 1.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.4431, allocations: 0.9795 MB / 0.5439 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.4431, allocations: 6.656 kB / 0.544 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001377/0.4445, allocations: 0.8742 MB / 0.5448 GB, free: 60 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4445, allocations: 13.72 kB / 0.5448 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.4445, allocations: 20.47 kB / 0.5448 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-05/0.4446, allocations: 25.69 kB / 0.5449 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.4451, allocations: 177 kB / 0.545 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.093e-05/0.4452, allocations: 38.05 kB / 0.5451 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.4458, allocations: 127.1 kB / 0.5452 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.4459, allocations: 52.11 kB / 0.5452 GB, free: 15.91 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.arrowLine.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.0004731/0.4464, allocations: 399.2 kB / 0.5456 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.4465, allocations: 59.25 kB / 0.5457 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.4466, allocations: 61.45 kB / 0.5457 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4466, allocations: 3.938 kB / 0.5457 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4466, allocations: 0 / 0.5457 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4466, allocations: 0 / 0.5457 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.4472, allocations: 0.5598 MB / 0.5463 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4473, allocations: 0 / 0.5463 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-05/0.4474, allocations: 11.98 kB / 0.5463 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4474, allocations: 4 kB / 0.5463 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4474, allocations: 0 / 0.5463 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4474, allocations: 0 / 0.5463 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4474, allocations: 0 / 0.5463 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.4478, allocations: 274.5 kB / 0.5466 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.4479, allocations: 132.3 kB / 0.5467 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.448, allocations: 4 kB / 0.5467 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.4482, allocations: 11.98 kB / 0.5467 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.4483, allocations: 11.92 kB / 0.5467 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.4483, allocations: 0 / 0.5467 GB, free: 14.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006384/0.4489, allocations: 0.5536 MB / 0.5473 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4489, allocations: 0 / 0.5473 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006704/0.4496, allocations: 159.4 kB / 0.5474 GB, free: 13.67 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.0001286/0.4498, allocations: 99.23 kB / 0.5475 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006677/0.4504, allocations: 412.5 kB / 0.5479 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4504, allocations: 4.125 kB / 0.5479 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.4506, allocations: 51.95 kB / 0.548 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.4512, allocations: 120.4 kB / 0.5481 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.4531, allocations: 1.17 MB / 0.5492 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.4538, allocations: 1.022 MB / 0.5502 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.4542, allocations: 216.8 kB / 0.5504 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.4543, allocations: 43.38 kB / 0.5505 GB, free: 10.5 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4543, allocations: 0 / 0.5505 GB, free: 10.5 MB / 414.1 MB Notification: Performance of Templates: time 0.01072/0.465, allocations: 4.926 MB / 0.5553 GB, free: 5.609 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches