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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001153, allocations: 102.3 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3776/0.3776, allocations: 44.13 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.86 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3713, allocations: 60.8 MB / 0.5064 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01568/0.3871, allocations: 20.36 MB / 0.5263 GB, free: 23.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009212/0.3963, allocations: 4.225 MB / 0.5304 GB, free: 20.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005908/0.4023, allocations: 79.69 kB / 0.5305 GB, free: 20.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.4038, allocations: 0.598 MB / 0.5311 GB, free: 20.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006089/0.4045, allocations: 196.8 kB / 0.5312 GB, free: 20.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.4047, allocations: 40.48 kB / 0.5313 GB, free: 20.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006162/0.4053, allocations: 0.7032 MB / 0.532 GB, free: 20.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006174/0.406, allocations: 0.5257 MB / 0.5325 GB, free: 19.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.4062, allocations: 215.7 kB / 0.5327 GB, free: 19.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.4066, allocations: 322.6 kB / 0.533 GB, free: 19.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.4067, allocations: 34.12 kB / 0.533 GB, free: 19.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.4069, allocations: 83.66 kB / 0.5331 GB, free: 19.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.4072, allocations: 280.7 kB / 0.5334 GB, free: 19.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.4074, allocations: 342.1 kB / 0.5337 GB, free: 19.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.408, allocations: 0.8864 MB / 0.5346 GB, free: 19.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.408, allocations: 0 / 0.5346 GB, free: 19.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.4081, allocations: 2.812 kB / 0.5346 GB, free: 19.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.4081, allocations: 0 / 0.5346 GB, free: 19.05 MB / 378.7 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.001317/0.4094, allocations: 0.9866 MB / 0.5355 GB, free: 18.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4094, allocations: 10.78 kB / 0.5355 GB, free: 18.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/0.41, allocations: 138.5 kB / 0.5357 GB, free: 18.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.4106, allocations: 452.2 kB / 0.5361 GB, free: 17.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.4106, allocations: 34.08 kB / 0.5361 GB, free: 17.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.4107, allocations: 51.84 kB / 0.5362 GB, free: 17.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.4119, allocations: 1.247 MB / 0.5374 GB, free: 17.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.4119, allocations: 11.11 kB / 0.5374 GB, free: 17.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.412, allocations: 21.05 kB / 0.5374 GB, free: 17.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003308/0.4123, allocations: 246.3 kB / 0.5377 GB, free: 17.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.4133, allocations: 0.7997 MB / 0.5385 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.4165, allocations: 5.069 MB / 0.5434 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.4167, allocations: 68.08 kB / 0.5435 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.4168, allocations: 46.33 kB / 0.5435 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.4168, allocations: 0 / 0.5435 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.4168, allocations: 33.89 kB / 0.5435 GB, free: 12.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.4168, allocations: 0 / 0.5435 GB, free: 12.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004324/0.4173, allocations: 212.3 kB / 0.5438 GB, free: 12.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.4173, allocations: 55.34 kB / 0.5438 GB, free: 12.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008009/0.4181, allocations: 0.8521 MB / 0.5446 GB, free: 12.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.4181, allocations: 29.23 kB / 0.5447 GB, free: 12.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.4184, allocations: 0.5364 MB / 0.5452 GB, free: 11.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.4184, allocations: 29.66 kB / 0.5452 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.4186, allocations: 178.2 kB / 0.5454 GB, free: 11.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.4187, allocations: 377.5 kB / 0.5457 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.4189, allocations: 176.4 kB / 0.5459 GB, free: 11.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.4193, allocations: 0.7339 MB / 0.5466 GB, free: 10.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.42, allocations: 0.9765 MB / 0.5476 GB, free: 9.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.42, allocations: 6.125 kB / 0.5476 GB, free: 9.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001109/0.4212, allocations: 0.8846 MB / 0.5485 GB, free: 9.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.4212, allocations: 13.62 kB / 0.5485 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.4212, allocations: 22.56 kB / 0.5485 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.383e-05/0.4213, allocations: 24.72 kB / 0.5485 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.4218, allocations: 175.7 kB / 0.5487 GB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.806e-05/0.4218, allocations: 44.52 kB / 0.5487 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.4225, allocations: 119.4 kB / 0.5488 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/0.4225, allocations: 50.84 kB / 0.5489 GB, free: 8.98 MB / 378.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 (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.0005209/0.4231, allocations: 387 kB / 0.5493 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.4232, allocations: 58.06 kB / 0.5493 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.529e-05/0.4233, allocations: 69.53 kB / 0.5494 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4233, allocations: 0 / 0.5494 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4233, allocations: 0 / 0.5494 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4233, allocations: 1.375 kB / 0.5494 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.4239, allocations: 0.5508 MB / 0.5499 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4239, allocations: 3.938 kB / 0.5499 GB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.424, allocations: 11.58 kB / 0.5499 GB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.424, allocations: 1.375 kB / 0.5499 GB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.4241, allocations: 3.281 kB / 0.5499 GB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4241, allocations: 1.375 kB / 0.5499 GB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4241, allocations: 4 kB / 0.5499 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.4248, allocations: 0.9616 MB / 0.5509 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.4249, allocations: 132.3 kB / 0.551 GB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.425, allocations: 1.625 kB / 0.551 GB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.4252, allocations: 15.41 kB / 0.551 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.4252, allocations: 15.36 kB / 0.551 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.4253, allocations: 5.109 kB / 0.551 GB, free: 7.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006482/0.4259, allocations: 0.551 MB / 0.5516 GB, free: 7.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4259, allocations: 0 / 0.5516 GB, free: 7.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008707/0.4268, allocations: 157.2 kB / 0.5517 GB, free: 7.148 MB / 378.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 0.0001344/0.4269, allocations: 101.2 kB / 0.5518 GB, free: 7.051 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007077/0.4276, allocations: 421.4 kB / 0.5522 GB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.4277, allocations: 0 / 0.5522 GB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.4278, allocations: 47 kB / 0.5523 GB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.4284, allocations: 94.94 kB / 0.5524 GB, free: 6.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.4304, allocations: 1.562 MB / 0.5539 GB, free: 5.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.4309, allocations: 1.026 MB / 0.5549 GB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005776/0.4315, allocations: 218.8 kB / 0.5551 GB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.685e-05/0.4316, allocations: 38.5 kB / 0.5551 GB, free: 5.09 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4316, allocations: 0 / 0.5551 GB, free: 5.09 MB / 378.7 MB Notification: Performance of Templates: time 0.01137/0.443, allocations: 4.639 MB / 0.5597 GB, free: 4.727 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches