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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.00202/0.002019, allocations: 180.2 kB / 18.71 MB, free: 4.207 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.416/1.416, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2159/0.2159, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3101, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006556/0.3167, allocations: 6.345 MB / 0.5246 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004118/0.3208, allocations: 1.945 MB / 0.5265 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006948/0.3215, allocations: 28.22 kB / 0.5265 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.323, allocations: 0.6113 MB / 0.5271 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005938/0.3237, allocations: 209.9 kB / 0.5273 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.3239, allocations: 50.5 kB / 0.5274 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005762/0.3245, allocations: 460.8 kB / 0.5278 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006873/0.3252, allocations: 0.5224 MB / 0.5283 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.3255, allocations: 232.9 kB / 0.5286 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.326, allocations: 309.5 kB / 0.5288 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.127e-05/0.3261, allocations: 45.12 kB / 0.5289 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.3264, allocations: 78.64 kB / 0.529 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.3267, allocations: 285.6 kB / 0.5292 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.3271, allocations: 355.2 kB / 0.5296 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.3281, allocations: 0.9203 MB / 0.5305 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3282, allocations: 4.719 kB / 0.5305 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3282, allocations: 0 / 0.5305 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.3282, allocations: 0 / 0.5305 GB, free: 11.24 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.001724/0.3299, allocations: 1.023 MB / 0.5315 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.33, allocations: 9.75 kB / 0.5315 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.3301, allocations: 126.9 kB / 0.5316 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/0.3307, allocations: 144.1 kB / 0.5317 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/0.3314, allocations: 450.5 kB / 0.5322 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3314, allocations: 35.67 kB / 0.5322 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.3315, allocations: 44.77 kB / 0.5323 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.3332, allocations: 1.242 MB / 0.5335 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.3332, allocations: 10.75 kB / 0.5335 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.3333, allocations: 18.98 kB / 0.5335 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003813/0.3337, allocations: 255.3 kB / 0.5337 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.3351, allocations: 0.801 MB / 0.5345 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005365/0.3405, allocations: 5.058 MB / 0.5395 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3407, allocations: 61.72 kB / 0.5395 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3408, allocations: 43.97 kB / 0.5396 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3408, allocations: 0 / 0.5396 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.3409, allocations: 43.59 kB / 0.5396 GB, free: 3.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.734e-06/0.3409, allocations: 0 / 0.5396 GB, free: 3.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005725/0.3415, allocations: 212.9 kB / 0.5398 GB, free: 3.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3415, allocations: 51.41 kB / 0.5399 GB, free: 3.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.3427, allocations: 0.8561 MB / 0.5407 GB, free: 3.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3427, allocations: 26.92 kB / 0.5407 GB, free: 3.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004964/0.3433, allocations: 0.5548 MB / 0.5413 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.3433, allocations: 30.12 kB / 0.5413 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/0.3436, allocations: 179.3 kB / 0.5415 GB, free: 2.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.3438, allocations: 372.9 kB / 0.5418 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.3441, allocations: 180.1 kB / 0.542 GB, free: 2.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/0.345, allocations: 0.7413 MB / 0.5427 GB, free: 1.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.3462, allocations: 0.9724 MB / 0.5437 GB, free: 144 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.3463, allocations: 9.688 kB / 0.5437 GB, free: 140 kB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001566/0.3478, allocations: 0.8789 MB / 0.5445 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.3479, allocations: 13.78 kB / 0.5445 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.3479, allocations: 24.69 kB / 0.5446 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.958e-05/0.348, allocations: 26.38 kB / 0.5446 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.3485, allocations: 179.9 kB / 0.5448 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.748e-05/0.3485, allocations: 37.98 kB / 0.5448 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006723/0.3492, allocations: 127.7 kB / 0.5449 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.3493, allocations: 47.41 kB / 0.545 GB, free: 15.53 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.0005664/0.3499, allocations: 389.1 kB / 0.5453 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.35, allocations: 68.08 kB / 0.5454 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.3501, allocations: 66.44 kB / 0.5455 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3501, allocations: 0 / 0.5455 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3501, allocations: 0.9688 kB / 0.5455 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3501, allocations: 192 / 0.5455 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008036/0.3509, allocations: 0.5512 MB / 0.546 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.351, allocations: 3.984 kB / 0.546 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3511, allocations: 15.97 kB / 0.546 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3511, allocations: 3.938 kB / 0.546 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3511, allocations: 4 kB / 0.546 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3511, allocations: 4 kB / 0.546 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3511, allocations: 0 / 0.546 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.3515, allocations: 267 kB / 0.5463 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.3517, allocations: 140.6 kB / 0.5464 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.3518, allocations: 8 kB / 0.5464 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.352, allocations: 15.98 kB / 0.5464 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.352, allocations: 7.984 kB / 0.5465 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3521, allocations: 0 / 0.5465 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007293/0.3528, allocations: 0.5576 MB / 0.547 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3528, allocations: 0 / 0.547 GB, free: 13.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007703/0.3536, allocations: 147.7 kB / 0.5471 GB, free: 13.51 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.0008219/0.3544, allocations: 0.8134 MB / 0.5479 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00087/0.3553, allocations: 420 kB / 0.5483 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3553, allocations: 0 / 0.5483 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3554, allocations: 47.88 kB / 0.5484 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/0.3561, allocations: 98.11 kB / 0.5485 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009391/0.3655, allocations: 6.309 MB / 0.5546 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008386/0.3664, allocations: 1.03 MB / 0.5556 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005655/0.367, allocations: 212.9 kB / 0.5558 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.3673, allocations: 255.3 kB / 0.5561 GB, free: 3.641 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3673, allocations: 0 / 0.5561 GB, free: 3.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/0.4048, allocations: 11.48 MB / 0.5673 GB, free: 8.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.403/9.808, allocations: 5.016 kB / 0.5673 GB, free: 8.285 MB / 430.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv","/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_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches