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.001519/0.001519, allocations: 114.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.001807/0.001807, allocations: 187 kB / 18.71 MB, free: 4.344 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.478/1.478, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2187/0.2187, allocations: 44.18 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 55.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3547, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007588/0.3623, allocations: 6.354 MB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004406/0.3668, allocations: 1.94 MB / 0.5265 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009949/0.3678, allocations: 26.75 kB / 0.5265 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.3697, allocations: 0.6053 MB / 0.5271 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008457/0.3706, allocations: 216.6 kB / 0.5273 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.3709, allocations: 47.02 kB / 0.5274 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006724/0.3716, allocations: 468 kB / 0.5278 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007235/0.3723, allocations: 0.5204 MB / 0.5283 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003802/0.3727, allocations: 240.4 kB / 0.5286 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.3732, allocations: 304.9 kB / 0.5288 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.122e-05/0.3733, allocations: 42.03 kB / 0.5289 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.3735, allocations: 87.89 kB / 0.529 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.3738, allocations: 284 kB / 0.5292 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003137/0.3741, allocations: 351.6 kB / 0.5296 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009893/0.3751, allocations: 0.917 MB / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3751, allocations: 0 / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3751, allocations: 0 / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.3751, 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.001641/0.3768, allocations: 0.9925 MB / 0.5314 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3768, allocations: 13.7 kB / 0.5314 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001819/0.377, allocations: 127 kB / 0.5316 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007871/0.3778, allocations: 130.9 kB / 0.5317 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.3789, allocations: 458.9 kB / 0.5321 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.379, allocations: 31.48 kB / 0.5322 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3792, allocations: 53.55 kB / 0.5322 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.3817, allocations: 1.242 MB / 0.5334 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.3818, allocations: 5.469 kB / 0.5334 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.991e-05/0.3819, allocations: 23.95 kB / 0.5335 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005832/0.3825, allocations: 251.4 kB / 0.5337 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.3846, allocations: 0.8001 MB / 0.5345 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007638/0.3922, allocations: 5.034 MB / 0.5394 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.3925, allocations: 65.06 kB / 0.5395 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3927, allocations: 44.56 kB / 0.5395 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.3927, allocations: 1.188 kB / 0.5395 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.3928, allocations: 34.56 kB / 0.5395 GB, free: 3.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.655e-06/0.3928, allocations: 1.281 kB / 0.5395 GB, free: 3.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007985/0.3936, allocations: 215 kB / 0.5397 GB, free: 3.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.3937, allocations: 52.94 kB / 0.5398 GB, free: 3.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.3955, allocations: 0.8521 MB / 0.5406 GB, free: 3.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.3955, allocations: 29.7 kB / 0.5406 GB, free: 3.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005648/0.3961, allocations: 0.5365 MB / 0.5412 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.3962, allocations: 31.98 kB / 0.5412 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/0.3965, allocations: 170 kB / 0.5414 GB, free: 2.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.3967, allocations: 377.3 kB / 0.5417 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.3972, allocations: 180.5 kB / 0.5419 GB, free: 2.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009623/0.3981, allocations: 0.7368 MB / 0.5426 GB, free: 1.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.3999, allocations: 0.9806 MB / 0.5436 GB, free: 252 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.101e-05/0.3999, allocations: 13.28 kB / 0.5436 GB, free: 244 kB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002343/0.4023, allocations: 0.8739 MB / 0.5444 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.4023, allocations: 21.53 kB / 0.5445 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.011e-05/0.4024, allocations: 20.19 kB / 0.5445 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.057e-05/0.4025, allocations: 30.64 kB / 0.5445 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/0.4033, allocations: 176.1 kB / 0.5447 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.465e-05/0.4033, allocations: 37.11 kB / 0.5447 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.4045, allocations: 120.6 kB / 0.5448 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.4046, allocations: 46.59 kB / 0.5449 GB, free: 15.64 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.0008342/0.4054, allocations: 397.6 kB / 0.5453 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.4056, allocations: 58.78 kB / 0.5453 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.4059, allocations: 67.12 kB / 0.5454 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4059, allocations: 4 kB / 0.5454 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4059, allocations: 1.25 kB / 0.5454 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4059, allocations: 0 / 0.5454 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.4072, allocations: 0.5512 MB / 0.5459 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4073, allocations: 0 / 0.5459 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.4074, allocations: 15.97 kB / 0.5459 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.4074, allocations: 4 kB / 0.5459 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4074, allocations: 0 / 0.5459 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4075, allocations: 0 / 0.5459 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4075, allocations: 4 kB / 0.5459 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.408, allocations: 270.5 kB / 0.5462 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.4083, allocations: 132.3 kB / 0.5463 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.4085, allocations: 4 kB / 0.5463 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.4088, allocations: 11.98 kB / 0.5463 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/0.4089, allocations: 11.98 kB / 0.5463 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.4089, allocations: 0 / 0.5463 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001146/0.4101, allocations: 0.5536 MB / 0.5469 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4101, allocations: 0 / 0.5469 GB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001289/0.4114, allocations: 159.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.001094/0.4125, allocations: 0.8015 MB / 0.5478 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.4136, allocations: 423.9 kB / 0.5482 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4136, allocations: 0 / 0.5482 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.4138, allocations: 47.92 kB / 0.5483 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009325/0.4147, allocations: 106.6 kB / 0.5484 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.427, allocations: 6.282 MB / 0.5545 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.4281, allocations: 1.026 MB / 0.5555 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007467/0.4288, allocations: 220.9 kB / 0.5557 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/0.4294, allocations: 255.3 kB / 0.556 GB, free: 3.781 MB / 414.1 MB Notification: Performance of SimCode: time 1.412e-06/0.4294, allocations: 0 / 0.556 GB, free: 3.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04151/0.4709, allocations: 11.6 MB / 0.5673 GB, free: 8.305 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.005/9.476, allocations: 7.516 kB / 0.5673 GB, free: 8.301 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