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.001355/0.001355, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.001381, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2445/0.2445, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002299, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3791, allocations: 62.46 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008934/0.3881, allocations: 6.238 MB / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004917/0.3931, allocations: 1.975 MB / 0.5386 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.3942, allocations: 26.81 kB / 0.5387 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.396, allocations: 0.6206 MB / 0.5393 GB, free: 6.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007129/0.3968, allocations: 200 kB / 0.5395 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.3971, allocations: 51.81 kB / 0.5395 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007157/0.3978, allocations: 419.5 kB / 0.5399 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008211/0.3986, allocations: 0.5045 MB / 0.5404 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.3992, allocations: 218.4 kB / 0.5406 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005141/0.3997, allocations: 286.7 kB / 0.5409 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.73e-05/0.3998, allocations: 38.16 kB / 0.5409 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.4001, allocations: 87.89 kB / 0.541 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.4004, allocations: 260.5 kB / 0.5412 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.4008, allocations: 316.6 kB / 0.5415 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.4021, allocations: 0.8223 MB / 0.5424 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4021, allocations: 4 kB / 0.5424 GB, free: 4.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4021, allocations: 1.25 kB / 0.5424 GB, free: 4.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.4022, allocations: 0 / 0.5424 GB, free: 4.535 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.002014/0.4042, allocations: 0.9606 MB / 0.5433 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4042, allocations: 9.938 kB / 0.5433 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.4044, allocations: 113.2 kB / 0.5434 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008874/0.4053, allocations: 166.5 kB / 0.5436 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008079/0.4061, allocations: 445.2 kB / 0.544 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.4062, allocations: 33.05 kB / 0.544 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/0.4063, allocations: 43.11 kB / 0.5441 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.408, allocations: 1.082 MB / 0.5451 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.4081, allocations: 2.625 kB / 0.5451 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.4082, allocations: 18.2 kB / 0.5451 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000399/0.4086, allocations: 201.6 kB / 0.5453 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.41, allocations: 0.7089 MB / 0.546 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005537/0.4155, allocations: 4.651 MB / 0.5506 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.4158, allocations: 62.53 kB / 0.5506 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.4159, allocations: 48.91 kB / 0.5507 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.416, allocations: 0 / 0.5507 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.416, allocations: 34.55 kB / 0.5507 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.816e-06/0.416, allocations: 0 / 0.5507 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006488/0.4167, allocations: 229 kB / 0.5509 GB, free: 12.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.4167, allocations: 51.41 kB / 0.551 GB, free: 12.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.4179, allocations: 0.8204 MB / 0.5518 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.418, allocations: 29.64 kB / 0.5518 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.4185, allocations: 0.5218 MB / 0.5523 GB, free: 10.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.4185, allocations: 23.83 kB / 0.5523 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.4188, allocations: 174.5 kB / 0.5525 GB, free: 10.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.419, allocations: 378.8 kB / 0.5529 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.4194, allocations: 181.8 kB / 0.553 GB, free: 10.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008513/0.4202, allocations: 0.7273 MB / 0.5537 GB, free: 9.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.4216, allocations: 0.982 MB / 0.5547 GB, free: 7.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.4216, allocations: 8 kB / 0.5547 GB, free: 7.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001677/0.4233, allocations: 0.8682 MB / 0.5556 GB, free: 7.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.4233, allocations: 12 kB / 0.5556 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.4234, allocations: 24.84 kB / 0.5556 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.569e-05/0.4234, allocations: 27.94 kB / 0.5556 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.424, allocations: 183.7 kB / 0.5558 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.503e-05/0.424, allocations: 47.78 kB / 0.5558 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007187/0.4248, allocations: 111.2 kB / 0.556 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.979e-05/0.4249, allocations: 55.98 kB / 0.556 GB, free: 6.621 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.0005489/0.4254, allocations: 359.5 kB / 0.5563 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.4256, allocations: 59.58 kB / 0.5564 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.4257, allocations: 69.22 kB / 0.5565 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4257, allocations: 0 / 0.5565 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4257, allocations: 0 / 0.5565 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4257, allocations: 3.984 kB / 0.5565 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007831/0.4265, allocations: 0.4935 MB / 0.557 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4265, allocations: 3.938 kB / 0.557 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.4267, allocations: 11.98 kB / 0.557 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4267, allocations: 0 / 0.557 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.4267, allocations: 11.94 kB / 0.557 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4267, allocations: 0 / 0.557 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4267, allocations: 0 / 0.557 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.4272, allocations: 271 kB / 0.5572 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.4274, allocations: 136.7 kB / 0.5574 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/0.4275, allocations: 3.938 kB / 0.5574 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.4277, allocations: 11.98 kB / 0.5574 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.4278, allocations: 8.219 kB / 0.5574 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.4278, allocations: 4 kB / 0.5574 GB, free: 5.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007691/0.4285, allocations: 0.5302 MB / 0.5579 GB, free: 4.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4286, allocations: 0 / 0.5579 GB, free: 4.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008362/0.4294, allocations: 135.8 kB / 0.558 GB, free: 4.426 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.0008964/0.4303, allocations: 0.8134 MB / 0.5588 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009048/0.4312, allocations: 420.6 kB / 0.5592 GB, free: 3.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4312, allocations: 0 / 0.5592 GB, free: 3.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.4314, allocations: 47.94 kB / 0.5593 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.4321, allocations: 96.72 kB / 0.5594 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009533/0.4416, allocations: 6.124 MB / 0.5654 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008044/0.4425, allocations: 0.9831 MB / 0.5663 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005955/0.4431, allocations: 204.9 kB / 0.5665 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.4435, allocations: 231.3 kB / 0.5667 GB, free: 10.83 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4435, allocations: 0 / 0.5667 GB, free: 10.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04307/0.4865, allocations: 10.98 MB / 0.5775 GB, free: 15.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.483/9.97, allocations: 12.31 kB / 0.5775 GB, free: 15.96 MB / 446.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