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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001843/0.001843, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.5 MB / 258.2 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2291/0.2291, allocations: 46.93 MB / 361.6 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002384/0.002384, allocations: 87.86 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.339, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008594/0.3476, allocations: 6.293 MB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004577/0.3521, allocations: 2.01 MB / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007753/0.3529, allocations: 23.94 kB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.3545, allocations: 0.6229 MB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005519/0.355, allocations: 198.9 kB / 0.5705 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.3553, allocations: 63.81 kB / 0.5705 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005876/0.3559, allocations: 414.2 kB / 0.5709 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.3565, allocations: 430.9 kB / 0.5713 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.3568, allocations: 227.1 kB / 0.5715 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004784/0.3573, allocations: 298.9 kB / 0.5718 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.3574, allocations: 36 kB / 0.5719 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.3576, allocations: 87.89 kB / 0.5719 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.3579, allocations: 275.1 kB / 0.5722 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.3582, allocations: 310 kB / 0.5725 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.3592, allocations: 0.8283 MB / 0.5733 GB, free: 8.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3592, allocations: 0 / 0.5733 GB, free: 8.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3592, allocations: 0 / 0.5733 GB, free: 8.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.3592, allocations: 4 kB / 0.5733 GB, free: 8.156 MB / 414.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.001555/0.3608, allocations: 0.8896 MB / 0.5742 GB, free: 7.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3608, allocations: 8.031 kB / 0.5742 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.3609, allocations: 110.7 kB / 0.5743 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007384/0.3617, allocations: 164.2 kB / 0.5745 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.3623, allocations: 388.1 kB / 0.5748 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.3623, allocations: 29.36 kB / 0.5748 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-05/0.3624, allocations: 51.91 kB / 0.5749 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.3638, allocations: 1.074 MB / 0.5759 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3638, allocations: 11.88 kB / 0.576 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.3639, allocations: 23.98 kB / 0.576 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003337/0.3642, allocations: 192.4 kB / 0.5762 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.3654, allocations: 0.7156 MB / 0.5769 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/0.3697, allocations: 4.611 MB / 0.5814 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.3699, allocations: 58.53 kB / 0.5814 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.37, allocations: 48.91 kB / 0.5815 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.37, allocations: 0 / 0.5815 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.37, allocations: 30.56 kB / 0.5815 GB, free: 15.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.37, allocations: 0 / 0.5815 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005217/0.3706, allocations: 225 kB / 0.5817 GB, free: 15.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3706, allocations: 51.41 kB / 0.5818 GB, free: 15.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3717, allocations: 0.8244 MB / 0.5826 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.3717, allocations: 29.7 kB / 0.5826 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.3721, allocations: 0.5179 MB / 0.5831 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3721, allocations: 23.89 kB / 0.5831 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.3723, allocations: 174.5 kB / 0.5833 GB, free: 13.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3725, allocations: 378.8 kB / 0.5837 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.3728, allocations: 177.8 kB / 0.5838 GB, free: 12.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.3735, allocations: 0.7351 MB / 0.5845 GB, free: 11.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.3747, allocations: 0.9781 MB / 0.5855 GB, free: 10.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.3747, allocations: 8 kB / 0.5855 GB, free: 10.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00139/0.3761, allocations: 0.8684 MB / 0.5863 GB, free: 9.793 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.3761, allocations: 16 kB / 0.5864 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.3761, allocations: 20 kB / 0.5864 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.99e-05/0.3762, allocations: 27.94 kB / 0.5864 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.3767, allocations: 176.3 kB / 0.5866 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.561e-05/0.3767, allocations: 39.86 kB / 0.5866 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/0.3772, allocations: 127.1 kB / 0.5867 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.3773, allocations: 51.98 kB / 0.5868 GB, free: 9.344 MB / 430.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.0004128/0.3777, allocations: 356.7 kB / 0.5871 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.3778, allocations: 63.77 kB / 0.5872 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.904e-05/0.3779, allocations: 65.31 kB / 0.5873 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3779, allocations: 3.984 kB / 0.5873 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3779, allocations: 4 kB / 0.5873 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3779, allocations: 3.984 kB / 0.5873 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.3785, allocations: 476.4 kB / 0.5877 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3785, allocations: 8 kB / 0.5877 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.755e-05/0.3786, allocations: 11.98 kB / 0.5877 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3786, allocations: 3.938 kB / 0.5877 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3786, allocations: 3.938 kB / 0.5877 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3786, allocations: 0 / 0.5877 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3786, allocations: 0 / 0.5877 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.379, allocations: 275 kB / 0.588 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.3791, allocations: 63.56 kB / 0.5881 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.3791, allocations: 3.938 kB / 0.5881 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.3793, allocations: 7.984 kB / 0.5881 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.3794, allocations: 7.984 kB / 0.5881 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3794, allocations: 0 / 0.5881 GB, free: 7.938 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006358/0.38, allocations: 0.538 MB / 0.5886 GB, free: 7.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.38, allocations: 0 / 0.5886 GB, free: 7.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006241/0.3807, allocations: 131.8 kB / 0.5887 GB, free: 7.273 MB / 430.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.0006996/0.3814, allocations: 0.8096 MB / 0.5895 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006929/0.382, allocations: 404.5 kB / 0.5899 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3821, allocations: 192 / 0.5899 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3822, allocations: 51.94 kB / 0.59 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.3827, allocations: 85.08 kB / 0.59 GB, free: 5.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007913/0.3906, allocations: 6.122 MB / 0.596 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/0.3913, allocations: 0.9911 MB / 0.597 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004888/0.3918, allocations: 200.8 kB / 0.5972 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.3921, allocations: 235.3 kB / 0.5974 GB, free: 13.7 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3921, allocations: 0 / 0.5974 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04022/0.4323, allocations: 11.6 MB / 0.6087 GB, free: 2.211 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.332/9.764, allocations: 4.703 kB / 0.6087 GB, free: 2.207 MB / 446.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.745925136376172] Failed to read output from testmodel.py, exit status != 0: ['time'] 9.841575593687594 9.859901713 9.497049438 Calling exit ...