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.001541/0.00154, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001798/0.001799, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.448/1.448, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2243/0.2243, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3487, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008157/0.3569, allocations: 6.347 MB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004716/0.3617, allocations: 1.939 MB / 0.5265 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.363, allocations: 26.97 kB / 0.5265 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.3649, allocations: 0.6077 MB / 0.5271 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008563/0.3658, allocations: 218.9 kB / 0.5273 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.3662, allocations: 46.33 kB / 0.5274 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009016/0.3671, allocations: 463.6 kB / 0.5278 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008974/0.368, allocations: 0.5194 MB / 0.5283 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000598/0.3686, allocations: 238.2 kB / 0.5285 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006695/0.3693, allocations: 305.5 kB / 0.5288 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.3695, allocations: 45.31 kB / 0.5289 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.3699, allocations: 83.41 kB / 0.529 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.3704, allocations: 289.1 kB / 0.5292 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006437/0.371, allocations: 347.6 kB / 0.5296 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.3725, allocations: 0.9167 MB / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3726, allocations: 0 / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3726, allocations: 0 / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.092e-05/0.3726, allocations: 0 / 0.5305 GB, free: 11.27 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.002712/0.3754, allocations: 0.9971 MB / 0.5314 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3754, allocations: 9.562 kB / 0.5314 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/0.3757, allocations: 122.7 kB / 0.5316 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000745/0.3764, allocations: 134.7 kB / 0.5317 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009215/0.3774, allocations: 458.9 kB / 0.5321 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.3774, allocations: 35.39 kB / 0.5322 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.3776, allocations: 53.06 kB / 0.5322 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.3798, allocations: 1.242 MB / 0.5334 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.3799, allocations: 10.91 kB / 0.5334 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.3799, allocations: 22.08 kB / 0.5335 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004677/0.3804, allocations: 247.2 kB / 0.5337 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.382, allocations: 0.8018 MB / 0.5345 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005995/0.388, allocations: 5.037 MB / 0.5394 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.3883, allocations: 65.34 kB / 0.5395 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3884, allocations: 44.78 kB / 0.5395 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3884, allocations: 3.984 kB / 0.5395 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3885, allocations: 35.75 kB / 0.5395 GB, free: 3.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.514e-06/0.3885, allocations: 0 / 0.5395 GB, free: 3.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005973/0.3891, allocations: 215.8 kB / 0.5397 GB, free: 3.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.3891, allocations: 51.41 kB / 0.5398 GB, free: 3.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.3905, allocations: 0.8531 MB / 0.5406 GB, free: 3.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.3905, allocations: 25.7 kB / 0.5407 GB, free: 3.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/0.391, allocations: 0.533 MB / 0.5412 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.391, allocations: 39.66 kB / 0.5412 GB, free: 2.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.3913, allocations: 169.2 kB / 0.5414 GB, free: 2.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3915, allocations: 377.9 kB / 0.5417 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.3918, allocations: 180.4 kB / 0.5419 GB, free: 2.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/0.3926, allocations: 0.7405 MB / 0.5426 GB, free: 1.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.3937, allocations: 0.9769 MB / 0.5436 GB, free: 240 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-05/0.3938, allocations: 9.562 kB / 0.5436 GB, free: 236 kB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001721/0.3955, allocations: 0.8749 MB / 0.5444 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.3956, allocations: 12.72 kB / 0.5445 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-05/0.3956, allocations: 25.28 kB / 0.5445 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.895e-05/0.3956, allocations: 26.09 kB / 0.5445 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.3962, allocations: 180.2 kB / 0.5447 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.876e-05/0.3963, allocations: 38.39 kB / 0.5447 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007499/0.397, allocations: 119.1 kB / 0.5448 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.3971, allocations: 46.97 kB / 0.5449 GB, free: 15.63 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.0006426/0.3978, allocations: 394.2 kB / 0.5453 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.3979, allocations: 61.66 kB / 0.5453 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.3981, allocations: 67.53 kB / 0.5454 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3981, allocations: 1.156 kB / 0.5454 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3981, allocations: 0 / 0.5454 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3981, allocations: 0 / 0.5454 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009489/0.3991, allocations: 0.5511 MB / 0.5459 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3991, allocations: 0 / 0.5459 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3992, allocations: 11.98 kB / 0.5459 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3992, allocations: 3.984 kB / 0.5459 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3993, allocations: 8 kB / 0.5459 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3993, allocations: 4 kB / 0.5459 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3993, allocations: 0 / 0.5459 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.3997, allocations: 270.5 kB / 0.5462 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.3999, allocations: 136.3 kB / 0.5463 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.07e-05/0.4, allocations: 0 / 0.5463 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.4003, allocations: 16.22 kB / 0.5463 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.4004, allocations: 7.984 kB / 0.5464 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.4004, allocations: 0 / 0.5464 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007965/0.4012, allocations: 0.5536 MB / 0.5469 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4012, allocations: 0 / 0.5469 GB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008773/0.4021, allocations: 155.4 kB / 0.547 GB, free: 13.62 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.0007869/0.4029, allocations: 0.8131 MB / 0.5478 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008319/0.4037, allocations: 424 kB / 0.5482 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4037, allocations: 0 / 0.5482 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.4039, allocations: 43.94 kB / 0.5483 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.4046, allocations: 106.6 kB / 0.5484 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009415/0.414, allocations: 6.282 MB / 0.5545 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008814/0.415, allocations: 1.026 MB / 0.5555 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005636/0.4155, allocations: 212.8 kB / 0.5557 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.4159, allocations: 255.3 kB / 0.556 GB, free: 3.781 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4159, allocations: 0 / 0.556 GB, free: 3.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.4515, allocations: 11.62 MB / 0.5673 GB, free: 8.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.351/9.803, allocations: 5.016 kB / 0.5673 GB, free: 8.289 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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