Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.7 MB / 243.9 MB, free: 8.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008032/0.0008033, allocations: 84.45 kB / 295 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3358/0.3358, allocations: 44.32 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003221, allocations: 8 kB / 463.1 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3221, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01524/0.3374, allocations: 18.41 MB / 0.5307 GB, free: 24.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.3481, allocations: 5.365 MB / 0.5359 GB, free: 20.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004694/0.3528, allocations: 81.25 kB / 0.536 GB, free: 20.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.3534, allocations: 93.52 kB / 0.5361 GB, free: 20.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008789/0.3543, allocations: 196.4 kB / 0.5363 GB, free: 20.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.3546, allocations: 40.2 kB / 0.5363 GB, free: 20.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008125/0.3554, allocations: 0.6984 MB / 0.537 GB, free: 20.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.3567, allocations: 0.9736 MB / 0.538 GB, free: 19.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.3571, allocations: 187.4 kB / 0.5382 GB, free: 19.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004593/0.3576, allocations: 273.8 kB / 0.5384 GB, free: 19.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.694e-05/0.3577, allocations: 19 kB / 0.5384 GB, free: 19.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.358, allocations: 67.92 kB / 0.5385 GB, free: 19.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.3582, allocations: 263.9 kB / 0.5387 GB, free: 19.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.3586, allocations: 336.4 kB / 0.5391 GB, free: 19.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007662/0.3594, allocations: 0.8513 MB / 0.5399 GB, free: 18.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3594, allocations: 0 / 0.5399 GB, free: 18.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3594, allocations: 3.938 kB / 0.5399 GB, free: 18.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.348e-05/0.3594, allocations: 0 / 0.5399 GB, free: 18.8 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.001569/0.361, allocations: 0.8714 MB / 0.5408 GB, free: 18.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.361, allocations: 8.844 kB / 0.5408 GB, free: 18.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006165/0.3617, allocations: 139.7 kB / 0.5409 GB, free: 18.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.3623, allocations: 452 kB / 0.5413 GB, free: 17.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.3624, allocations: 43 kB / 0.5414 GB, free: 17.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.3625, allocations: 48.17 kB / 0.5414 GB, free: 17.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.3639, allocations: 1.24 MB / 0.5426 GB, free: 17.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.3639, allocations: 13.3 kB / 0.5426 GB, free: 17.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-05/0.364, allocations: 18.8 kB / 0.5427 GB, free: 17.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003634/0.3644, allocations: 254.5 kB / 0.5429 GB, free: 16.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.3656, allocations: 0.8051 MB / 0.5437 GB, free: 16.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.3691, allocations: 5.067 MB / 0.5486 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3693, allocations: 69.86 kB / 0.5487 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-05/0.3694, allocations: 59.89 kB / 0.5488 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.3694, allocations: 4 kB / 0.5488 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.3694, allocations: 30.56 kB / 0.5488 GB, free: 12.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.294e-06/0.3694, allocations: 112 / 0.5488 GB, free: 12.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004501/0.3699, allocations: 240 kB / 0.549 GB, free: 12.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.3699, allocations: 51.41 kB / 0.5491 GB, free: 12.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007809/0.3707, allocations: 0.8519 MB / 0.5499 GB, free: 12.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3707, allocations: 25.7 kB / 0.5499 GB, free: 11.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.371, allocations: 0.5357 MB / 0.5504 GB, free: 11.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.371, allocations: 24.62 kB / 0.5505 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.371, allocations: 17.97 kB / 0.5505 GB, free: 11.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.3711, allocations: 377.1 kB / 0.5508 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.3713, allocations: 186.6 kB / 0.551 GB, free: 11.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.3717, allocations: 0.7361 MB / 0.5517 GB, free: 10.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007575/0.3725, allocations: 0.9845 MB / 0.5527 GB, free: 9.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.3725, allocations: 5.062 kB / 0.5527 GB, free: 9.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001162/0.3737, allocations: 0.8825 MB / 0.5536 GB, free: 8.988 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.3737, allocations: 16.8 kB / 0.5536 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.3737, allocations: 20.62 kB / 0.5536 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.559e-05/0.3738, allocations: 30.06 kB / 0.5536 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.3742, allocations: 185.9 kB / 0.5538 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.26e-05/0.3743, allocations: 36.69 kB / 0.5539 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.3748, allocations: 130.9 kB / 0.554 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.3748, allocations: 46.81 kB / 0.554 GB, free: 8.867 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.0003854/0.3752, allocations: 389.3 kB / 0.5544 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.3753, allocations: 58.47 kB / 0.5544 GB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.3754, allocations: 67.94 kB / 0.5545 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3754, allocations: 1.25 kB / 0.5545 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3754, allocations: 0 / 0.5545 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3754, allocations: 4 kB / 0.5545 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.376, allocations: 0.5516 MB / 0.5551 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.376, allocations: 0 / 0.5551 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.112e-05/0.3761, allocations: 14.42 kB / 0.5551 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3761, allocations: 1.688 kB / 0.5551 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3761, allocations: 0 / 0.5551 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3761, allocations: 3.047 kB / 0.5551 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3761, allocations: 1.531 kB / 0.5551 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.3764, allocations: 288 kB / 0.5553 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3765, allocations: 133.1 kB / 0.5555 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.3766, allocations: 4 kB / 0.5555 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.3768, allocations: 16.09 kB / 0.5555 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.3769, allocations: 10.77 kB / 0.5555 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3769, allocations: 3.938 kB / 0.5555 GB, free: 7.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005719/0.3775, allocations: 0.5449 MB / 0.556 GB, free: 7.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3775, allocations: 0 / 0.556 GB, free: 7.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006214/0.3781, allocations: 160.8 kB / 0.5562 GB, free: 7.664 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.0001355/0.3782, allocations: 107.7 kB / 0.5563 GB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000633/0.3789, allocations: 425.4 kB / 0.5567 GB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3789, allocations: 0 / 0.5567 GB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.379, allocations: 62.8 kB / 0.5568 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.3795, allocations: 97.36 kB / 0.5569 GB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.3812, allocations: 1.481 MB / 0.5583 GB, free: 6.516 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.3817, allocations: 1.028 MB / 0.5593 GB, free: 5.754 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005087/0.3822, allocations: 214.3 kB / 0.5595 GB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.3823, allocations: 38.02 kB / 0.5595 GB, free: 5.723 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3823, allocations: 4 kB / 0.5596 GB, free: 5.719 MB / 378.7 MB Notification: Performance of Templates: time 0.01131/0.3936, allocations: 4.469 MB / 0.5639 GB, free: 5.363 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/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