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.001701/0.001701, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002192/0.002192, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.549/1.549, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2401/0.2401, allocations: 46.89 MB / 357.4 MB, free: 10.53 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.002314/0.002314, allocations: 79.86 kB / 0.4912 GB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.127, allocations: 65.98 MB / 0.5556 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01299/0.14, allocations: 11.55 MB / 0.5669 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006191/0.1462, allocations: 3.08 MB / 0.5699 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1476, allocations: 59.88 kB / 0.57 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.1507, allocations: 1.6 MB / 0.5715 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.1544, allocations: 1.603 MB / 0.5731 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.1549, allocations: 123.8 kB / 0.5732 GB, free: 4.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004404/0.1593, allocations: 3.299 MB / 0.5765 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.1618, allocations: 1.906 MB / 0.5783 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.1636, allocations: 1.137 MB / 0.5794 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003467/0.1671, allocations: 2.606 MB / 0.582 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006366/0.1677, allocations: 228 kB / 0.5822 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.1692, allocations: 0.7294 MB / 0.5829 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.1708, allocations: 1.534 MB / 0.5844 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.1728, allocations: 1.805 MB / 0.5862 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006379/0.1792, allocations: 5.947 MB / 0.592 GB, free: 1.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1792, allocations: 0 / 0.592 GB, free: 1.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1792, allocations: 0 / 0.592 GB, free: 1.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001335/0.1793, allocations: 0 / 0.592 GB, free: 1.098 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.263/0.4423, allocations: 4.098 MB / 0.596 GB, free: 34.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.4424, allocations: 9.625 kB / 0.596 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001745/0.4441, allocations: 0.6905 MB / 0.5967 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.4552, allocations: 2.99 MB / 0.5996 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006675/0.4619, allocations: 1.845 MB / 0.6014 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/0.4622, allocations: 187 kB / 0.6016 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/0.4637, allocations: 237.6 kB / 0.6018 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.4849, allocations: 9.762 MB / 0.6113 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.485, allocations: 15.06 kB / 0.6113 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008079/0.4858, allocations: 108.8 kB / 0.6114 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004347/0.4901, allocations: 2.373 MB / 0.6137 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.5076, allocations: 8.946 MB / 0.6225 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04495/0.5525, allocations: 29.57 MB / 0.6514 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007183/0.5597, allocations: 3.363 MB / 0.6546 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.5615, allocations: 1.014 MB / 0.6556 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/0.5749, allocations: 6.47 MB / 0.662 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/0.5749, allocations: 53.12 kB / 0.662 GB, free: 12.01 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 4.859e-06/0.5749, allocations: 0 / 0.662 GB, free: 12.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=135): time 0.008618/0.5835, allocations: 3.143 MB / 0.6651 GB, free: 8.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.5837, allocations: 115.5 kB / 0.6652 GB, free: 8.723 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00598/0.5896, allocations: 2.734 MB / 0.6679 GB, free: 5.969 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001873/0.5898, allocations: 37.7 kB / 0.6679 GB, free: 5.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002927/0.5928, allocations: 2.849 MB / 0.6707 GB, free: 3.047 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00088/0.5936, allocations: 0.5388 MB / 0.6712 GB, free: 2.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/0.5952, allocations: 0.9408 MB / 0.6721 GB, free: 1.551 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5954, allocations: 305.1 kB / 0.6724 GB, free: 1.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/0.5977, allocations: 1.406 MB / 0.6738 GB, free: 15.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005345/0.6031, allocations: 4.225 MB / 0.6779 GB, free: 10.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009163/0.6122, allocations: 6.153 MB / 0.6839 GB, free: 2.641 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/0.6124, allocations: 32 kB / 0.6839 GB, free: 2.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01177/0.6241, allocations: 5.464 MB / 0.6893 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.6243, allocations: 48 kB / 0.6893 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/0.6245, allocations: 100 kB / 0.6894 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/0.6247, allocations: 139.9 kB / 0.6896 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003334/0.6281, allocations: 0.9942 MB / 0.6905 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002421/0.6283, allocations: 191.2 kB / 0.6907 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/0.6318, allocations: 0.6281 MB / 0.6913 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007113/0.6325, allocations: 292.3 kB / 0.6916 GB, free: 10.76 MB / 0.4981 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.003968/0.6364, allocations: 1.989 MB / 0.6935 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006555/0.6371, allocations: 238.4 kB / 0.6938 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008207/0.6379, allocations: 292.7 kB / 0.6941 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.061e-05/0.638, allocations: 19.98 kB / 0.6941 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.638, allocations: 0 / 0.6941 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.638, allocations: 3.984 kB / 0.6941 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.6526, allocations: 6.193 MB / 0.7001 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/0.6526, allocations: 12.09 kB / 0.7001 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/0.6534, allocations: 167.7 kB / 0.7003 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.048e-05/0.6534, allocations: 11.94 kB / 0.7003 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.6535, allocations: 35.98 kB / 0.7003 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.148e-05/0.6535, allocations: 15.92 kB / 0.7004 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.6535, allocations: 12 kB / 0.7004 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/0.6566, allocations: 2.007 MB / 0.7023 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008432/0.6575, allocations: 319.1 kB / 0.7026 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006111/0.6581, allocations: 28 kB / 0.7027 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000924/0.659, allocations: 47.94 kB / 0.7027 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.6592, allocations: 84.23 kB / 0.7028 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.6593, allocations: 51.98 kB / 0.7028 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003425/0.6627, allocations: 1.666 MB / 0.7045 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6627, allocations: 0 / 0.7045 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004493/0.6672, allocations: 1.032 MB / 0.7055 GB, free: 12.21 MB / 0.5137 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.003818/0.671, allocations: 2.661 MB / 0.7081 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00552/0.6766, allocations: 3.143 MB / 0.7111 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.6766, allocations: 4.062 kB / 0.7111 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.6777, allocations: 0.7311 MB / 0.7119 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.6797, allocations: 307.6 kB / 0.7121 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05337/0.7331, allocations: 31.05 MB / 0.7425 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004988/0.7381, allocations: 3.103 MB / 0.7455 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003697/0.7418, allocations: 1.544 MB / 0.747 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002502/0.7443, allocations: 1.593 MB / 0.7486 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/0.7443, allocations: 0 / 0.7486 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08787/0.8321, allocations: 41.75 MB / 0.7893 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.48/17.31, allocations: 14.73 kB / 0.7894 GB, free: 2.332 MB / 0.5919 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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: 21.19906916236505] Failed to read output from testmodel.py, exit status != 0: ['time', 'surfaceWireframe.nu', 'surfaceWireframe.nv', 'surfaceSolid.nu', 'surfaceSolid.nv'] 17.41105190385133 17.436249587 17.252081615 Calling exit ...