Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.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.001337/0.001337, allocations: 105 kB / 19.74 MB, free: 2.453 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.001495/0.001495, allocations: 214.3 kB / 22.92 MB, free: 5.195 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.281/1.281, allocations: 230.2 MB / 256.2 MB, free: 8.578 MB / 206.1 MB " [Timeout remaining time 179] 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.1947/0.1947, allocations: 46.89 MB / 359.3 MB, free: 4.945 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.Planes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Planes",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.002166/0.002166, allocations: 79.86 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2532, allocations: 65.98 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01227/0.2655, allocations: 11.57 MB / 0.5697 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005464/0.2709, allocations: 3.095 MB / 0.5727 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.272, allocations: 59.88 kB / 0.5728 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.2748, allocations: 1.6 MB / 0.5743 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.2778, allocations: 1.603 MB / 0.5759 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.2782, allocations: 119.8 kB / 0.576 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003595/0.2818, allocations: 3.298 MB / 0.5792 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.2836, allocations: 1.703 MB / 0.5809 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.2849, allocations: 1.148 MB / 0.582 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003066/0.2879, allocations: 2.594 MB / 0.5846 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004191/0.2884, allocations: 232 kB / 0.5848 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.2895, allocations: 0.7255 MB / 0.5855 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.2907, allocations: 1.538 MB / 0.587 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.2922, allocations: 1.812 MB / 0.5888 GB, free: 5.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005354/0.2975, allocations: 5.947 MB / 0.5946 GB, free: 0 / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2975, allocations: 112 / 0.5946 GB, free: 16 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.2975, allocations: 7.938 kB / 0.5946 GB, free: 15.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.882e-05/0.2976, allocations: 0 / 0.5946 GB, free: 15.99 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.005518/0.3031, allocations: 4.093 MB / 0.5986 GB, free: 11.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3032, allocations: 12.03 kB / 0.5986 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007171/0.3039, allocations: 0.6916 MB / 0.5993 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009136/0.313, allocations: 2.989 MB / 0.6022 GB, free: 8.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.3158, allocations: 1.847 MB / 0.604 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.3159, allocations: 184.7 kB / 0.6042 GB, free: 6.031 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004403/0.3164, allocations: 235.8 kB / 0.6044 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/0.3292, allocations: 9.76 MB / 0.6139 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.3292, allocations: 19.81 kB / 0.6139 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003199/0.3296, allocations: 107.8 kB / 0.614 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00348/0.333, allocations: 2.369 MB / 0.6163 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.3472, allocations: 8.948 MB / 0.6251 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03384/0.3811, allocations: 29.56 MB / 0.654 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005918/0.387, allocations: 3.373 MB / 0.6572 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.3884, allocations: 1.021 MB / 0.6582 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008941/0.3973, allocations: 6.47 MB / 0.6646 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.3973, allocations: 55.16 kB / 0.6646 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.216e-06/0.3973, allocations: 0 / 0.6646 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.007174/0.4045, allocations: 3.143 MB / 0.6677 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.4046, allocations: 115.4 kB / 0.6678 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/0.4078, allocations: 2.734 MB / 0.6705 GB, free: 260 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/0.4078, allocations: 41.7 kB / 0.6705 GB, free: 212 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.4096, allocations: 2.853 MB / 0.6733 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004048/0.41, allocations: 0.535 MB / 0.6738 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.411, allocations: 0.933 MB / 0.6747 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4111, allocations: 301.1 kB / 0.675 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/0.413, allocations: 1.403 MB / 0.6764 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003828/0.4168, allocations: 4.229 MB / 0.6805 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006227/0.423, allocations: 6.159 MB / 0.6865 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.07e-05/0.4231, allocations: 28 kB / 0.6865 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.007282/0.4304, allocations: 5.467 MB / 0.6919 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.4304, allocations: 50.5 kB / 0.6919 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.765e-05/0.4305, allocations: 100 kB / 0.692 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.4306, allocations: 132.8 kB / 0.6922 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/0.4332, allocations: 0.9981 MB / 0.6931 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001467/0.4333, allocations: 203.2 kB / 0.6933 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.4355, allocations: 0.6281 MB / 0.6939 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.4358, allocations: 288 kB / 0.6942 GB, free: 5.035 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 543 * Array equations: 8 * 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.002364/0.4382, allocations: 1.973 MB / 0.6961 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.4385, allocations: 242.3 kB / 0.6964 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005007/0.439, allocations: 288.8 kB / 0.6966 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/0.439, allocations: 19.98 kB / 0.6967 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.439, allocations: 4 kB / 0.6967 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.439, allocations: 7.984 kB / 0.6967 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008053/0.4471, allocations: 6.189 MB / 0.7027 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.4471, allocations: 8 kB / 0.7027 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.4477, allocations: 167.7 kB / 0.7029 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.4477, allocations: 12 kB / 0.7029 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.4478, allocations: 31.97 kB / 0.7029 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.4478, allocations: 12 kB / 0.7029 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.4478, allocations: 11.94 kB / 0.703 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.45, allocations: 2.011 MB / 0.7049 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.4504, allocations: 323.1 kB / 0.7052 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.4505, allocations: 28.23 kB / 0.7053 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005933/0.4511, allocations: 43.95 kB / 0.7053 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.4513, allocations: 88.23 kB / 0.7054 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.111e-05/0.4514, allocations: 47.98 kB / 0.7054 GB, free: 9.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002016/0.4534, allocations: 1.678 MB / 0.7071 GB, free: 7.547 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4534, allocations: 3.938 kB / 0.7071 GB, free: 7.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002974/0.4563, allocations: 1.028 MB / 0.7081 GB, free: 6.512 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (93): * Single equations (assignments): 87 * Array equations: 6 * 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.002671/0.459, allocations: 2.665 MB / 0.7107 GB, free: 3.719 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004179/0.4632, allocations: 3.138 MB / 0.7137 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4632, allocations: 4 kB / 0.7137 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/0.4641, allocations: 0.7362 MB / 0.7145 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.4653, allocations: 299.7 kB / 0.7147 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2231/0.6884, allocations: 31.04 MB / 0.7451 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002132/0.6906, allocations: 3.107 MB / 0.7481 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002325/0.6929, allocations: 1.554 MB / 0.7496 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.6941, allocations: 1.593 MB / 0.7512 GB, free: 143 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.6941, allocations: 0 / 0.7512 GB, free: 143 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/0.7504, allocations: 41.94 MB / 0.7921 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.41, allocations: 4.062 kB / 0.7921 GB, free: 101.2 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes_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_Planes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.887399558996549]