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.001712/0.001712, allocations: 110 kB / 20.42 MB, free: 1.535 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.002059/0.002059, allocations: 210.1 kB / 23.72 MB, free: 4.961 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.575/1.575, allocations: 230.2 MB / 257.1 MB, free: 8.508 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.2344/0.2344, allocations: 46.89 MB / 360.3 MB, free: 4.621 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.003569/0.003569, allocations: 87.84 kB / 0.4955 GB, free: 8.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3874, allocations: 66 MB / 0.56 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01986/0.4072, allocations: 11.57 MB / 0.5713 GB, free: 9.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007916/0.4151, allocations: 3.08 MB / 0.5743 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.4171, allocations: 59.88 kB / 0.5743 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.4205, allocations: 1.608 MB / 0.5759 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004515/0.425, allocations: 1.607 MB / 0.5775 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.4255, allocations: 119.8 kB / 0.5776 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005137/0.4306, allocations: 3.294 MB / 0.5808 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.4332, allocations: 1.719 MB / 0.5825 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.4351, allocations: 1.137 MB / 0.5836 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004265/0.4394, allocations: 2.595 MB / 0.5861 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009972/0.4404, allocations: 228 kB / 0.5863 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.4422, allocations: 0.7294 MB / 0.5871 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.4442, allocations: 1.542 MB / 0.5886 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002919/0.4471, allocations: 1.805 MB / 0.5903 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008371/0.4555, allocations: 5.947 MB / 0.5961 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4555, allocations: 0 / 0.5961 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4555, allocations: 0 / 0.5961 GB, free: 15.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001971/0.4557, allocations: 0 / 0.5961 GB, free: 15.72 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.009892/0.4656, allocations: 4.108 MB / 0.6001 GB, free: 11.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/0.4657, allocations: 8.031 kB / 0.6001 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001594/0.4673, allocations: 0.6916 MB / 0.6008 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.4778, allocations: 2.985 MB / 0.6037 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/0.4829, allocations: 1.844 MB / 0.6055 GB, free: 5.941 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.4831, allocations: 188.7 kB / 0.6057 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007843/0.4839, allocations: 235.8 kB / 0.6059 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.5005, allocations: 9.76 MB / 0.6155 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-05/0.5005, allocations: 19.81 kB / 0.6155 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003638/0.5009, allocations: 111.8 kB / 0.6156 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004131/0.505, allocations: 2.366 MB / 0.6179 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/0.523, allocations: 8.948 MB / 0.6266 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05343/0.5764, allocations: 29.57 MB / 0.6555 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.5874, allocations: 3.371 MB / 0.6588 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002648/0.5901, allocations: 1.014 MB / 0.6598 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01903/0.6091, allocations: 6.489 MB / 0.6661 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.6092, allocations: 39.22 kB / 0.6662 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 8.185e-06/0.6092, allocations: 3.984 kB / 0.6662 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.014/0.6232, allocations: 3.139 MB / 0.6692 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.6233, allocations: 115.5 kB / 0.6694 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007597/0.6309, allocations: 2.738 MB / 0.672 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.6312, allocations: 49.69 kB / 0.6721 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003686/0.6349, allocations: 2.845 MB / 0.6749 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.636, allocations: 0.5388 MB / 0.6754 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002441/0.6385, allocations: 0.933 MB / 0.6763 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6387, allocations: 301.1 kB / 0.6766 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003801/0.6425, allocations: 1.406 MB / 0.678 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007865/0.6503, allocations: 4.225 MB / 0.6821 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/0.6627, allocations: 6.151 MB / 0.6881 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/0.6628, allocations: 28 kB / 0.6881 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01705/0.6799, allocations: 5.467 MB / 0.6935 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.68, allocations: 48 kB / 0.6935 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002078/0.6802, allocations: 104 kB / 0.6936 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.6804, allocations: 128.8 kB / 0.6937 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005019/0.6855, allocations: 0.9942 MB / 0.6947 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002793/0.6857, allocations: 199.3 kB / 0.6949 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005634/0.6914, allocations: 0.632 MB / 0.6955 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/0.6925, allocations: 284.2 kB / 0.6958 GB, free: 4.77 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.00577/0.6983, allocations: 1.977 MB / 0.6977 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007815/0.699, allocations: 246.3 kB / 0.6979 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009036/0.6999, allocations: 288.8 kB / 0.6982 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.514e-05/0.7, allocations: 16 kB / 0.6982 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.7, allocations: 11.94 kB / 0.6982 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.7, allocations: 11.91 kB / 0.6982 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01791/0.718, allocations: 6.185 MB / 0.7043 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/0.718, allocations: 8 kB / 0.7043 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.719, allocations: 171.7 kB / 0.7045 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.619e-05/0.7191, allocations: 12 kB / 0.7045 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.7192, allocations: 24 kB / 0.7045 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.301e-05/0.7192, allocations: 15.94 kB / 0.7045 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.557e-05/0.7192, allocations: 11.94 kB / 0.7045 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/0.7233, allocations: 2.019 MB / 0.7065 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009311/0.7243, allocations: 319.3 kB / 0.7068 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005132/0.7248, allocations: 27.98 kB / 0.7068 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.7259, allocations: 47.95 kB / 0.7069 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.7262, allocations: 88.22 kB / 0.707 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.7263, allocations: 47.98 kB / 0.707 GB, free: 8.945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003789/0.7301, allocations: 1.674 MB / 0.7086 GB, free: 7.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7301, allocations: 0 / 0.7086 GB, free: 7.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004562/0.7347, allocations: 1.028 MB / 0.7096 GB, free: 6.23 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.00375/0.7384, allocations: 2.661 MB / 0.7122 GB, free: 3.434 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005485/0.7439, allocations: 3.134 MB / 0.7153 GB, free: 328 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.7439, allocations: 4 kB / 0.7153 GB, free: 324 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.745, allocations: 0.7442 MB / 0.716 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.7467, allocations: 302.2 kB / 0.7163 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3381/1.085, allocations: 31.05 MB / 0.7466 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002652/1.087, allocations: 3.098 MB / 0.7497 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002814/1.09, allocations: 1.548 MB / 0.7512 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001776/1.092, allocations: 1.597 MB / 0.7527 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.542e-06/1.092, allocations: 0 / 0.7527 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07376/1.166, allocations: 41.95 MB / 0.7937 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.56, allocations: 8.047 kB / 0.7937 GB, free: 100.7 MB / 0.5606 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: 19.584051571786404] Failed to read output from testmodel.py, exit status != 0: ['time', 'surfaceWireframe.nu', 'surfaceWireframe.nv', 'surfaceSolid.nu', 'surfaceSolid.nv'] 16.66139452997595 16.671001939 16.212465577 Calling exit ...