Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001399/0.001399, allocations: 118.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.001611/0.001612, allocations: 201.2 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.46/1.46, 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 4.1.0-beta.om/package.mo): time 0.2207/0.2207, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 79.88 kB / 480.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3646, allocations: 62.46 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008335/0.373, allocations: 6.241 MB / 0.5367 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004321/0.3774, allocations: 1.975 MB / 0.5386 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000764/0.3782, allocations: 26.25 kB / 0.5386 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.3798, allocations: 0.6168 MB / 0.5392 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006062/0.3804, allocations: 196.5 kB / 0.5394 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.3807, allocations: 55.16 kB / 0.5395 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000617/0.3813, allocations: 418.8 kB / 0.5399 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007015/0.382, allocations: 0.5027 MB / 0.5404 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.3825, allocations: 217 kB / 0.5406 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.383, allocations: 283.2 kB / 0.5409 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.3831, allocations: 38.38 kB / 0.5409 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.3833, allocations: 86.52 kB / 0.541 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.3836, allocations: 260.5 kB / 0.5412 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.384, allocations: 321.1 kB / 0.5415 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.3851, allocations: 0.8229 MB / 0.5423 GB, free: 4.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3851, allocations: 0 / 0.5423 GB, free: 4.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3851, allocations: 1.062 kB / 0.5423 GB, free: 4.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.3851, allocations: 0 / 0.5423 GB, free: 4.57 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.00172/0.3869, allocations: 0.9691 MB / 0.5433 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3869, allocations: 13.41 kB / 0.5433 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.3871, allocations: 117.8 kB / 0.5434 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008289/0.3879, allocations: 157.9 kB / 0.5436 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007318/0.3887, allocations: 444.2 kB / 0.544 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.3887, allocations: 29.92 kB / 0.544 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.3888, allocations: 47.14 kB / 0.544 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.3904, allocations: 1.086 MB / 0.5451 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.3904, allocations: 7.344 kB / 0.5451 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.3905, allocations: 22.55 kB / 0.5451 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003558/0.3908, allocations: 188.7 kB / 0.5453 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.3922, allocations: 0.7092 MB / 0.546 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005074/0.3972, allocations: 4.654 MB / 0.5506 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3975, allocations: 66.52 kB / 0.5506 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.3976, allocations: 48.91 kB / 0.5507 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3976, allocations: 0 / 0.5507 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.3977, allocations: 30.56 kB / 0.5507 GB, free: 12.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 4.068e-06/0.3977, allocations: 0 / 0.5507 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006116/0.3983, allocations: 225 kB / 0.5509 GB, free: 12.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.3984, allocations: 51.41 kB / 0.551 GB, free: 12.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.3995, allocations: 0.8204 MB / 0.5518 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3995, allocations: 25.7 kB / 0.5518 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.3999, allocations: 0.5101 MB / 0.5523 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.4, allocations: 39.8 kB / 0.5523 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.4002, allocations: 174.5 kB / 0.5525 GB, free: 10.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.4004, allocations: 378.8 kB / 0.5528 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.4008, allocations: 177.8 kB / 0.553 GB, free: 10.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008085/0.4016, allocations: 0.735 MB / 0.5537 GB, free: 9.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.4028, allocations: 0.9743 MB / 0.5547 GB, free: 7.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.4028, allocations: 8 kB / 0.5547 GB, free: 7.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001558/0.4044, allocations: 0.872 MB / 0.5555 GB, free: 7.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.4045, allocations: 12.94 kB / 0.5556 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.4045, allocations: 20 kB / 0.5556 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.071e-05/0.4045, allocations: 31.94 kB / 0.5556 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/0.4051, allocations: 175.7 kB / 0.5558 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.985e-05/0.4051, allocations: 47.78 kB / 0.5558 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.4057, allocations: 111.2 kB / 0.5559 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/0.4058, allocations: 52 kB / 0.556 GB, free: 6.656 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.0005215/0.4063, allocations: 363.5 kB / 0.5563 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4065, allocations: 59.58 kB / 0.5564 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.4066, allocations: 73.41 kB / 0.5565 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4066, allocations: 7.922 kB / 0.5565 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4066, allocations: 0 / 0.5565 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4066, allocations: 0 / 0.5565 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.4073, allocations: 0.4935 MB / 0.5569 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4073, allocations: 3.938 kB / 0.5569 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.4074, allocations: 11.98 kB / 0.557 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.4074, allocations: 0 / 0.557 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.4075, allocations: 7.938 kB / 0.557 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4075, allocations: 3.938 kB / 0.557 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4075, allocations: 4 kB / 0.557 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.4079, allocations: 267 kB / 0.5572 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.4081, allocations: 136.7 kB / 0.5574 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-05/0.4081, allocations: 3.938 kB / 0.5574 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.4083, allocations: 7.984 kB / 0.5574 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.4084, allocations: 15.98 kB / 0.5574 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.4084, allocations: 0 / 0.5574 GB, free: 5.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007152/0.4091, allocations: 0.5302 MB / 0.5579 GB, free: 4.582 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4091, allocations: 0 / 0.5579 GB, free: 4.582 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007285/0.4099, allocations: 135.8 kB / 0.558 GB, free: 4.449 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.0007772/0.4106, allocations: 0.8057 MB / 0.5588 GB, free: 3.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008219/0.4115, allocations: 420.5 kB / 0.5592 GB, free: 3.211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4115, allocations: 0 / 0.5592 GB, free: 3.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.4116, allocations: 47.94 kB / 0.5593 GB, free: 3.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.4123, allocations: 92.48 kB / 0.5594 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008636/0.4209, allocations: 6.12 MB / 0.5653 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/0.4217, allocations: 0.9911 MB / 0.5663 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005205/0.4222, allocations: 204.8 kB / 0.5665 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.4225, allocations: 235.3 kB / 0.5667 GB, free: 10.86 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4225, allocations: 0 / 0.5667 GB, free: 10.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0385/0.461, allocations: 10.98 MB / 0.5774 GB, free: 12 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.595/10.06, allocations: 13.59 kB / 0.5775 GB, free: 4 kB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)