Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001611, allocations: 117.7 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001889, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.09 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 71.88 kB / 480.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3585, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007674/0.3662, allocations: 6.245 MB / 0.5366 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004334/0.3706, allocations: 1.973 MB / 0.5385 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008396/0.3715, allocations: 27.72 kB / 0.5385 GB, free: 6.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.3731, allocations: 0.6242 MB / 0.5392 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.3738, allocations: 183.9 kB / 0.5393 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.374, allocations: 58.23 kB / 0.5394 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005995/0.3746, allocations: 424.1 kB / 0.5398 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006824/0.3753, allocations: 0.4995 MB / 0.5403 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.3758, allocations: 225 kB / 0.5405 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.3762, allocations: 283.3 kB / 0.5408 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.3763, allocations: 42.16 kB / 0.5408 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.3766, allocations: 83.75 kB / 0.5409 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.3769, allocations: 260.4 kB / 0.5411 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.3772, allocations: 316.2 kB / 0.5414 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3782, allocations: 0.8233 MB / 0.5422 GB, free: 4.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3782, allocations: 4 kB / 0.5422 GB, free: 4.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3782, allocations: 0 / 0.5422 GB, free: 4.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.3782, allocations: 0 / 0.5422 GB, free: 4.574 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001802/0.3801, allocations: 0.9391 MB / 0.5432 GB, free: 3.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3801, allocations: 8.844 kB / 0.5432 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.3803, allocations: 114.2 kB / 0.5433 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008362/0.3811, allocations: 150 kB / 0.5434 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/0.3819, allocations: 447.9 kB / 0.5438 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.3819, allocations: 29.95 kB / 0.5439 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.382, allocations: 47.61 kB / 0.5439 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.3836, allocations: 1.082 MB / 0.545 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.3836, allocations: 6.469 kB / 0.545 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/0.3837, allocations: 22.83 kB / 0.545 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003605/0.384, allocations: 197.1 kB / 0.5452 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.3853, allocations: 0.714 MB / 0.5459 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004715/0.39, allocations: 4.642 MB / 0.5504 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.3903, allocations: 62.47 kB / 0.5505 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.3904, allocations: 52.89 kB / 0.5505 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3905, allocations: 4 kB / 0.5505 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3905, allocations: 30.56 kB / 0.5506 GB, free: 12.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.3905, allocations: 0 / 0.5506 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005736/0.3911, allocations: 208.7 kB / 0.5508 GB, free: 12.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3911, allocations: 59.39 kB / 0.5508 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.3923, allocations: 0.8163 MB / 0.5516 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3924, allocations: 29.7 kB / 0.5516 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.3928, allocations: 0.5005 MB / 0.5521 GB, free: 11.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.3928, allocations: 31.73 kB / 0.5522 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.3931, allocations: 170.4 kB / 0.5523 GB, free: 10.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3932, allocations: 374.8 kB / 0.5527 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.3936, allocations: 181.9 kB / 0.5529 GB, free: 10.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/0.3943, allocations: 0.7312 MB / 0.5536 GB, free: 9.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.3954, allocations: 0.9859 MB / 0.5545 GB, free: 8.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/0.3954, allocations: 4 kB / 0.5545 GB, free: 8.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001567/0.397, allocations: 0.8683 MB / 0.5554 GB, free: 7.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.3971, allocations: 15.94 kB / 0.5554 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/0.3971, allocations: 20 kB / 0.5554 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.735e-05/0.3972, allocations: 31.94 kB / 0.5555 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.3977, allocations: 179.6 kB / 0.5556 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.302e-05/0.3977, allocations: 35.86 kB / 0.5557 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.3984, allocations: 123.1 kB / 0.5558 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.3985, allocations: 56 kB / 0.5558 GB, free: 6.781 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.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.0004833/0.399, allocations: 355.5 kB / 0.5562 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.3991, allocations: 59.23 kB / 0.5562 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.3993, allocations: 65.22 kB / 0.5563 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3993, allocations: 0 / 0.5563 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3993, allocations: 4 kB / 0.5563 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3993, allocations: 0 / 0.5563 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/0.4001, allocations: 0.4973 MB / 0.5568 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4001, allocations: 3.984 kB / 0.5568 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.4002, allocations: 11.98 kB / 0.5568 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.4002, allocations: 3.938 kB / 0.5568 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4002, allocations: 3.938 kB / 0.5568 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4002, allocations: 0 / 0.5568 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4002, allocations: 0 / 0.5568 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.4007, allocations: 270.7 kB / 0.5571 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.4009, allocations: 132.3 kB / 0.5572 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/0.401, allocations: 3.938 kB / 0.5572 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.4012, allocations: 4 kB / 0.5572 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.4013, allocations: 11.92 kB / 0.5572 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.4013, allocations: 3.984 kB / 0.5572 GB, free: 5.262 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007265/0.402, allocations: 0.5341 MB / 0.5577 GB, free: 4.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.402, allocations: 0 / 0.5577 GB, free: 4.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008485/0.4029, allocations: 143.6 kB / 0.5579 GB, free: 4.59 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.0007834/0.4037, allocations: 0.7978 MB / 0.5586 GB, free: 3.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008447/0.4046, allocations: 420.3 kB / 0.559 GB, free: 3.359 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4046, allocations: 3.938 kB / 0.559 GB, free: 3.355 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4047, allocations: 48.33 kB / 0.5591 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007196/0.4054, allocations: 106.7 kB / 0.5592 GB, free: 3.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009134/0.4146, allocations: 6.074 MB / 0.5651 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/0.4154, allocations: 0.987 MB / 0.5661 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005586/0.4159, allocations: 208.8 kB / 0.5663 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.4163, allocations: 227.4 kB / 0.5665 GB, free: 11.04 MB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4163, allocations: 4 kB / 0.5665 GB, free: 11.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03772/0.454, allocations: 11.11 MB / 0.5774 GB, free: 44 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.091/9.545, allocations: 8.375 kB / 0.5774 GB, free: 40 kB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches