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.00153/0.00153, allocations: 121.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001437, allocations: 203.9 kB / 18.73 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.493/1.493, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2573/0.2573, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 71.89 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4203, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008291/0.4287, allocations: 6.248 MB / 0.5366 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004615/0.4334, allocations: 1.971 MB / 0.5385 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.4345, allocations: 22.69 kB / 0.5385 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.4363, allocations: 0.6243 MB / 0.5392 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007681/0.4371, allocations: 202.2 kB / 0.5393 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.4374, allocations: 58.08 kB / 0.5394 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007217/0.4381, allocations: 416.7 kB / 0.5398 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000798/0.439, allocations: 0.4979 MB / 0.5403 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004864/0.4395, allocations: 225.4 kB / 0.5405 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.44, allocations: 291 kB / 0.5408 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.4401, allocations: 41.75 kB / 0.5408 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.4404, allocations: 83.28 kB / 0.5409 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.4407, allocations: 264.4 kB / 0.5411 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.4411, allocations: 309.7 kB / 0.5414 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.4423, allocations: 0.8309 MB / 0.5423 GB, free: 4.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4424, allocations: 0 / 0.5423 GB, free: 4.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4424, allocations: 4 kB / 0.5423 GB, free: 4.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.676e-05/0.4424, allocations: 0 / 0.5423 GB, free: 4.547 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.002106/0.4445, allocations: 0.962 MB / 0.5432 GB, free: 3.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.4446, allocations: 8.406 kB / 0.5432 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.4448, allocations: 110.2 kB / 0.5433 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009323/0.4457, allocations: 166 kB / 0.5435 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009632/0.4467, allocations: 444.9 kB / 0.5439 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.4468, allocations: 33.7 kB / 0.5439 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-05/0.4469, allocations: 42.98 kB / 0.544 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.4487, allocations: 1.082 MB / 0.545 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.4488, allocations: 6.75 kB / 0.545 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.4488, allocations: 18.27 kB / 0.545 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004146/0.4493, allocations: 193.6 kB / 0.5452 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.4508, allocations: 0.713 MB / 0.5459 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005144/0.4559, allocations: 4.651 MB / 0.5505 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.4562, allocations: 66.52 kB / 0.5505 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.4563, allocations: 48.91 kB / 0.5506 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4563, allocations: 0 / 0.5506 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.4564, allocations: 30.56 kB / 0.5506 GB, free: 12.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.003e-06/0.4564, allocations: 0 / 0.5506 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.000663/0.457, allocations: 229 kB / 0.5508 GB, free: 12.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.4571, allocations: 51.41 kB / 0.5509 GB, free: 12.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.4583, allocations: 0.8204 MB / 0.5517 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.4583, allocations: 25.7 kB / 0.5517 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.4588, allocations: 0.5179 MB / 0.5522 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.4588, allocations: 27.81 kB / 0.5522 GB, free: 11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.4591, allocations: 174.5 kB / 0.5524 GB, free: 10.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.4593, allocations: 378.8 kB / 0.5528 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.4597, allocations: 181.8 kB / 0.5529 GB, free: 10.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.4605, allocations: 0.7273 MB / 0.5536 GB, free: 9.262 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.4617, allocations: 0.982 MB / 0.5546 GB, free: 7.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.4618, allocations: 8 kB / 0.5546 GB, free: 7.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001712/0.4635, allocations: 0.8683 MB / 0.5555 GB, free: 7.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.4635, allocations: 15.94 kB / 0.5555 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/0.4636, allocations: 20 kB / 0.5555 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.102e-05/0.4636, allocations: 32.69 kB / 0.5555 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.4642, allocations: 175.7 kB / 0.5557 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.813e-05/0.4642, allocations: 47.84 kB / 0.5557 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007733/0.465, allocations: 111.2 kB / 0.5558 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.321e-05/0.4651, allocations: 48 kB / 0.5559 GB, free: 6.672 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.0006268/0.4657, allocations: 371.6 kB / 0.5562 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.4659, allocations: 59.58 kB / 0.5563 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.4661, allocations: 69.22 kB / 0.5564 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.4661, allocations: 8 kB / 0.5564 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.4661, allocations: 0 / 0.5564 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4661, allocations: 0 / 0.5564 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008794/0.467, allocations: 0.4935 MB / 0.5569 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.467, allocations: 0 / 0.5569 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.4672, allocations: 11.98 kB / 0.5569 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4672, allocations: 3.938 kB / 0.5569 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4672, allocations: 7.938 kB / 0.5569 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.4672, allocations: 0 / 0.5569 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4672, allocations: 0 / 0.5569 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.4677, allocations: 271 kB / 0.5571 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.468, allocations: 136.7 kB / 0.5573 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.4681, allocations: 3.938 kB / 0.5573 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.4683, allocations: 11.98 kB / 0.5573 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.4684, allocations: 7.984 kB / 0.5573 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4684, allocations: 4 kB / 0.5573 GB, free: 5.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008232/0.4692, allocations: 0.5302 MB / 0.5578 GB, free: 4.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4692, allocations: 0 / 0.5578 GB, free: 4.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009449/0.4702, allocations: 135.8 kB / 0.5579 GB, free: 4.465 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.0008816/0.4711, allocations: 0.8057 MB / 0.5587 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007905/0.4719, allocations: 416.6 kB / 0.5591 GB, free: 3.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4719, allocations: 4.062 kB / 0.5591 GB, free: 3.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.472, allocations: 47.94 kB / 0.5592 GB, free: 3.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.4726, allocations: 106.7 kB / 0.5593 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008937/0.4816, allocations: 6.116 MB / 0.5653 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.4824, allocations: 0.987 MB / 0.5662 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005503/0.483, allocations: 208.7 kB / 0.5664 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.4833, allocations: 231.3 kB / 0.5666 GB, free: 10.87 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4833, allocations: 0 / 0.5666 GB, free: 10.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.5216, allocations: 10.98 MB / 0.5774 GB, free: 8 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.487/10.01, allocations: 19.03 kB / 0.5774 GB, free: 15.99 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches