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.001449/0.001449, allocations: 109 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.001638/0.001638, allocations: 213.6 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.495/1.495, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2305/0.2305, allocations: 46.94 MB / 361.6 MB, free: 4.16 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.002464/0.002464, allocations: 87.83 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3043, allocations: 66.09 MB / 0.5615 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008072/0.3124, allocations: 6.289 MB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004144/0.3165, allocations: 1.998 MB / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006136/0.3171, allocations: 31.88 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.3186, allocations: 0.6229 MB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005526/0.3192, allocations: 210.9 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.3194, allocations: 63.86 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000602/0.32, allocations: 414.1 kB / 0.5709 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006092/0.3206, allocations: 427 kB / 0.5713 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003833/0.321, allocations: 223.1 kB / 0.5715 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.3215, allocations: 294.9 kB / 0.5718 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.892e-05/0.3216, allocations: 40 kB / 0.5719 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.3218, allocations: 91.88 kB / 0.5719 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.3221, allocations: 271.2 kB / 0.5722 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.3224, allocations: 317.9 kB / 0.5725 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009707/0.3234, allocations: 0.8245 MB / 0.5733 GB, free: 8.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3234, allocations: 0 / 0.5733 GB, free: 8.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3234, allocations: 0 / 0.5733 GB, free: 8.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.3234, allocations: 0 / 0.5733 GB, free: 8.145 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.001636/0.325, allocations: 0.8857 MB / 0.5742 GB, free: 7.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3251, allocations: 11.97 kB / 0.5742 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.3252, allocations: 122.6 kB / 0.5743 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007988/0.326, allocations: 156.3 kB / 0.5745 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.3267, allocations: 384.2 kB / 0.5748 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.3267, allocations: 33.36 kB / 0.5749 GB, free: 6.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.3268, allocations: 43.92 kB / 0.5749 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.3284, allocations: 1.085 MB / 0.576 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.3284, allocations: 3.938 kB / 0.576 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.3284, allocations: 19.98 kB / 0.576 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003594/0.3288, allocations: 196.5 kB / 0.5762 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.3301, allocations: 0.7126 MB / 0.5769 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.3349, allocations: 4.611 MB / 0.5814 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3351, allocations: 58.53 kB / 0.5814 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3352, allocations: 44.91 kB / 0.5815 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.3352, allocations: 0 / 0.5815 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3352, allocations: 34.55 kB / 0.5815 GB, free: 15.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.3352, allocations: 0 / 0.5815 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005474/0.3358, allocations: 225 kB / 0.5817 GB, free: 15.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3358, allocations: 55.41 kB / 0.5818 GB, free: 15.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.3369, allocations: 0.8205 MB / 0.5826 GB, free: 14.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.337, allocations: 25.7 kB / 0.5826 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/0.3374, allocations: 0.5218 MB / 0.5831 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.3374, allocations: 23.89 kB / 0.5831 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.3376, allocations: 182.5 kB / 0.5833 GB, free: 13.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3378, allocations: 370.8 kB / 0.5836 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.3382, allocations: 181.9 kB / 0.5838 GB, free: 12.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008152/0.339, allocations: 0.7389 MB / 0.5845 GB, free: 11.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.3402, allocations: 0.9704 MB / 0.5855 GB, free: 10.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.3402, allocations: 8 kB / 0.5855 GB, free: 10.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001593/0.3418, allocations: 0.8719 MB / 0.5864 GB, free: 9.777 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.3419, allocations: 12.97 kB / 0.5864 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.3419, allocations: 20 kB / 0.5864 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.281e-05/0.3419, allocations: 35.94 kB / 0.5864 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.3424, allocations: 175.7 kB / 0.5866 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-05/0.3425, allocations: 39.8 kB / 0.5866 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/0.3432, allocations: 127.1 kB / 0.5867 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/0.3432, allocations: 48 kB / 0.5868 GB, free: 9.328 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.0004888/0.3437, allocations: 356.8 kB / 0.5871 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.3438, allocations: 63.58 kB / 0.5872 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.3439, allocations: 69.3 kB / 0.5873 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.344, allocations: 7.938 kB / 0.5873 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.344, allocations: 0 / 0.5873 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.344, allocations: 0 / 0.5873 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.3446, allocations: 480.4 kB / 0.5877 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3446, allocations: 0 / 0.5877 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.3448, allocations: 11.98 kB / 0.5877 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3448, allocations: 0 / 0.5877 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3448, allocations: 7.922 kB / 0.5877 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3448, allocations: 7.938 kB / 0.5877 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3448, allocations: 4 kB / 0.5878 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.3452, allocations: 263 kB / 0.588 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.3453, allocations: 55.58 kB / 0.5881 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.3454, allocations: 3.938 kB / 0.5881 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.3456, allocations: 11.98 kB / 0.5881 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.3457, allocations: 11.98 kB / 0.5881 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.3457, allocations: 8 kB / 0.5881 GB, free: 7.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007197/0.3464, allocations: 0.5263 MB / 0.5886 GB, free: 7.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3464, allocations: 0 / 0.5886 GB, free: 7.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007337/0.3471, allocations: 135.8 kB / 0.5887 GB, free: 7.262 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.0007477/0.3479, allocations: 0.8137 MB / 0.5895 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008127/0.3487, allocations: 416.5 kB / 0.5899 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3487, allocations: 0 / 0.5899 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3488, allocations: 39.95 kB / 0.59 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000592/0.3494, allocations: 94.28 kB / 0.5901 GB, free: 5.895 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008645/0.3581, allocations: 6.118 MB / 0.596 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/0.3587, allocations: 0.9831 MB / 0.597 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005103/0.3593, allocations: 208.9 kB / 0.5972 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.3596, allocations: 231.4 kB / 0.5974 GB, free: 13.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3596, allocations: 0 / 0.5974 GB, free: 13.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04029/0.3999, allocations: 11.6 MB / 0.6087 GB, free: 2.191 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.548/9.948, allocations: 4.703 kB / 0.6087 GB, free: 2.188 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 & /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 --stepSize=0.00019992 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.786187451798469] Failed to read output from testmodel.py, exit status != 0: ['time'] 10.026135993655771 10.046570783 9.718656715 Calling exit ...